Using as my tutorial for learning React. Find out more about Farkle.
Currently has:
- Clone it.
nvm use
(if you're using nvm).npm install
it.npm run webpack
it.- Serve it (requires docker-compose):
npm run up
(find the game atlocalhost:8080
) - Stop serving it:
npm run down
Currently game includes:
- Basic scoring rules
- A two player game
- Some error handling around selecting incorrect dice
- Stateful buttons related to actions the player can take, etc.
- An indicator for whether a player is winning currently
Still needed:
- A means of determining the winner and ending the game when someone wins
- Restarting the game
- Allowing a different number of players
- Better UI design and UX tweaks (responsive design considerations, select all die, deselect all die, show scoring options etc)