Welcome to the Advanced Dice Game! This project is a simple, interactive web-based game built using HTML, CSS, and JavaScript.
The Advanced Dice Game is designed to simulate a fun and engaging dice game where players can roll dice and compete to reach a target score. The game provides a practical example of DOM manipulation, event handling, and basic game logic implementation in JavaScript.
- Player Turns: Alternate turns between two players.
- Dice Rolling: Roll the dice to accumulate points.
- Hold Feature: Save your current score and switch turns.
- Winning Condition: First player to reach the target score wins.
- Reset Game: Restart the game at any time.
Check out the live version of the game here: Advanced Dice Game
-
Objective:
- The goal of the game is to be the first player to reach 100 points.
-
Gameplay:
- The game is played between two players, alternating turns.
- On each turn, a player rolls a dice as many times as they wish. Each result gets added to their current turn's score.
-
Rolling a 1:
- If the player rolls a 1, they lose all points accumulated in their current turn, and it's the next player's turn.
-
Hold:
- The player can choose to hold (end their turn) at any time. When a player holds, their current turn's score is added to their total score, and it's the next player's turn.
-
Winning the Game:
- The first player to reach or exceed 100 points on their total score wins the game.
-
New Game:
- Players can click the "New Game" button to reset the scores and start a new game.
- HTML5
- CSS3
- JavaScript
For any inquiries or job opportunities, feel free to reach out.
Feel free to modify this README file as needed. Let me know if you need any further adjustments or additions!