Dicey Dash is a simple web-based dice game where two players compete to reach a total score of 100. It's a fun game of chance and strategy that you can play in your web browser. Roll the dice, accumulate points, and use your wits to decide when to "Hold" your score.
-
Objective: The goal of the game is to reach a total score of 100 points before your opponent.
-
Game Rules:
- Two players take turns to roll a six-sided die.
- If a player rolls a 1, their current score is lost, and it becomes the next player's turn.
- A player can choose to "Hold" their current score, which adds it to their total score.
- The first player to reach or exceed 100 points wins.
-
Starting a New Game:
- Click the "New Game" button to start a new game at any time.
-
Rolling the Dice:
- Click the "Roll Dice" button to roll the dice during your turn.
-
Holding Your Score:
- Click the "Hold" button to add your current score to your total score and end your turn.
-
Winning the Game:
- The player who reaches or exceeds 100 points first is declared the winner.
You can try Dicey Dash right now! Play the game in your web browser by following this Live Demo Link.
To run this project locally or on your own web server, follow these steps:
-
Clone the Repository:
- git clone https://github.com/Hamzeh01/dicey-dash.git
- cd dicey-dash
-
Open the Project:
- Open the
index.html
file in your web browser.
- Open the
-
Start Playing:
- Follow the on-screen instructions to play the game.
Contributions are welcome! If you'd like to enhance the game or fix any issues, please:
- Fork the project.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy playing Dicey Dash! If you have any questions or suggestions, please feel free to open an issue.