Simple Dice game built using plain JavaScript, just as a form of refresher.
GAME RULES:
- The game has two players, playing in rounds
- Players needs to agree for the winning score - score to win the game and then hit 'submit'
- In each round player rolls the dices as many times as he wants to. Each result is added to the round score
- If player rolls 1 on any of the dices, all round score gets lost, then it's another player's turn
- If player will roll 6 at any of the dices in two rolls in a row - WHOLE score is lost
- First player to reach winning score agreed at the beginning wins the game.
Have fun!
Build with:
- Vanilla JavaScript
- HTML
- CSS