/Risky-dice-game

Dice-rolling game; hold your nerve

Primary LanguageJavaScript

🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲🎲

Risky Dice 2-Player Game

Adapted from Jonas Schmedtmann's Pig Game (https://github.com/jonasschmedtmann/complete-javascript-course/tree/8201b01f2fcd274fb276c1c8e11e55847c6d451e/07-Pig-Game)

How to play:

🎲 Players take it in turns to roll the dice

🎲 Rolls are added to the pot

🎲 Rolling a double results in a total equaling double that roll

🎲 Player chooses when to save the total to their bank and end their turn

🎲 If either dice shows a 1, the pot resets to 0

🎲 If the player banks 100, they win