This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-GoogleTrendsGame
mirror of
https://github.com/jrtechs/GoogleTrendsGame.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Syncing
master
Unknown
7 years ago
parent
3aabf00e4e
commit
0f564bb094
2 changed files
with
8 additions
and
11 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
googletrendsgame/src/App.js
+2
-11
googletrendsgame/src/components/User.js
+ 6
- 0
googletrendsgame/src/App.js
View File
@ -25,6 +25,12 @@ class App extends Component {
}
)
;
}
modifyStateToGameScreen
(
)
{
this
.
setState
(
{
progression
:
''
}
)
}
componentDidMount
(
)
{
socket
.
on
(
'sendRooms'
,
payload
=>
{
const
rooms
=
payload
.
rooms
;
+ 2
- 11
googletrendsgame/src/components/User.js
View File
@ -1,12 +1,3 @@
import
React
,
{
Component
}
from
'react'
;
import
React
from
'react'
;
class
User
extends
Component
{
constructor
(
props
)
{
super
(
props
)
;
this
.
state
=
{
name
:
''
,
score
:
0
,
word
:
''
}
}
}
function
Write
Preview
Loading…
Cancel
Save