Rolling dice game for 2 players 👥
Practice project for DOM manipulation and events fundamentals. Play here: https://dice-game-by-sarah.netlify.app
Main language used: JAVASCRIPT.
Each turn, a player rolls a dice and can decide to hold the score and change turn or addup with another roll.
If the player rolls a 1, their current score gets zeroed and the other player takes turn. If the player rolls any other number, it is added to their current score and the player's turn continues. If a player chooses to "hold" the current score, their turn total is added to their score and the other player takes turn. The first player to score 10 points wins.
HTML5, CSS3, Javascript