A simple two-player dice game implemented using HTML, CSS, and JavaScript.
This project is a basic implementation of a two-player dice game. Players take turns rolling a virtual die and accumulate scores. The first player to reach a total score greater than 10 wins the game.
- Click the "NOUVEAU" (New) button to start a new game.
- Click the "LANCE" (Roll) button to roll the virtual die.
- Click the "PASSE" (Pass) button to pass the turn to the other player.
- The game ends when one player's total score exceeds 10.
- Random Dice Rolls: The game uses JavaScript to simulate random dice rolls.
- Player Turns: Players take turns rolling the dice, and the active player is indicated by background color changes.
- Score Tracking: The scores for each player are displayed, and the game ends when a player's total score surpasses 10.
- Responsive Design: The layout is designed to be responsive, providing a good user experience on different devices.
Clone the repository and open the index.html
file in a web browser to play the game.
git clone https://github.com/your-username/dice-game.git
cd dice-game
![brave_o9bOVA9tjn](## Copyright
ยฉ 2024 Your Name. All Rights Reserved. https://github.com/Mededdahby/diceGame/assets/99148703/6f112694-f264-4070-9c0b-822670a3d414)