A classic dice game built with HTML, CSS, and JavaScript. Roll the dice, accumulate points, but be cautious not to roll a 1 and lose your turn. The first player to reach the specified winning score is declared the winner!
- Roll the Dice: Click the "Roll Dice" button to roll a six-sided die.
- Hold: Secure your current round points by clicking the "Hold" button, but be strategic!
- Switch Player: Rolling a 1 will end your turn and switch to the next player.
- Winning Condition: The first player to reach the specified winning score wins.
-
Clone the Repository:
git clone https://github.com/your-username/pig-game.git
-
Navigate to the Project Directory:
cd pig-game -
Open the Game:
- Open the index.html file in your web browser to start playing.
- For a live demo, check out Pig Game Demo.
