Last active
November 13, 2017 14:14
-
-
Save taingmeng/ece0f635e15aaf25cc435213c1f0e791 to your computer and use it in GitHub Desktop.
Badminton Score Tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import './App.css'; | |
class App extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
players: [ | |
{ | |
name: 'Player 1', | |
score: 0, | |
commands: ["You can't see me"] | |
}, | |
{ | |
name: 'Player 2', | |
score: 0, | |
commands: ["I'm the king"] | |
} | |
], | |
serverHistory: [], | |
voiceStatus: '', | |
voiceInput: [] | |
}; | |
} | |
render() { | |
return ( | |
<div> | |
</div> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment