Last active
March 4, 2019 07:42
-
-
Save PabloRegen/4cbb58d99dc04354abd5137f87e5d1ba to your computer and use it in GitHub Desktop.
Starting state of the application
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
class App extends Component { | |
state = { | |
boardStatus: newBoardStatus(), | |
generation: 0, | |
isGameRunning: false, | |
speed: 500 | |
}; | |
// Other methods ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment