Read more about the game on Wikipedia
This web application allows two players to play a game of Pig Dice.
- Each turn, a player repeatedly rolls two dice, until either a 1 is rolled or the player decides to "hold"
- If a single 1 is rolled, the player scores nothing and the turn ends.
- If two 1s are rolled, the player’s entire score is lost, and the turn ends.
- If neither shows a 1, their sum is added to the turn total.
- If the player rolls any other number, it is added to their turn total and the player's turn continues.
- If a player chooses to "hold", their turn total is added to their score, and it becomes the next player's turn.
- HTML
- CSS
- JavaScript