- Two players roll the dice;
- When the dice is equal to 1, the current score resets, and the next player gets the turn;
- Click hold button to add the current score to the total score;
- When the player gets 100 points, he wins the game.
My third project from "The Complete JavaScript Course 2024: From Zero to Expert!"
My third project from "The Complete JavaScript Course 2024: From Zero to Expert!"
https://ruta-is-coding.github.io/pig-game/