- Clone the repo
[email protected]:mean-april-2017/simon-david.git
- Create New Repo in Org and Set Remote
cd simon-david git remote set-url origin [email protected]:mean-april-2017/simon-your-name git push origin master
- Run
npm install
- Run
npm start
Red | Yellow |
Blue | Green |
2 players alternate turns. When it is each player's turn, they must click the pattern that the last player clicked, and then add a new color. The first player to mess up the pattern looses.
ex:
1: R
2: RG
1: RGB
2: RGBR
1: RGBRY
2: RGBRYG
1: RGBG #PLAYER 1 LOST!
- create the colored boxes in grid
- show current player
- when box is pressed
- alternate player
- display the last pressed color
- players enter their names
- player doesn't alternate until they've finished pattern (and added to pattern)
- player loses if incorrectly clicked pattern
- when player loses
- show option to reset game
- show the game history
- RED
- YELLOW
- BLUE
- BLUE
- RED
- GREEN
- keep track of wins/losses for player 1 / player 2
- show highscores