https://github.com/shoaib-fateh/dice-game
This is a simple dice game where two players take turns rolling a dice. The goal of the game is to reach a score of 100 or more.
https://github.com/shoaib-fateh/dice-game
css3 html5 javascript
Last synced: 5 months ago
JSON representation
This is a simple dice game where two players take turns rolling a dice. The goal of the game is to reach a score of 100 or more.
- Host: GitHub
- URL: https://github.com/shoaib-fateh/dice-game
- Owner: shoaib-fateh
- Created: 2022-10-18T10:13:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T13:15:42.000Z (almost 2 years ago)
- Last Synced: 2024-12-31T08:14:28.991Z (7 months ago)
- Topics: css3, html5, javascript
- Language: CSS
- Homepage: https://shoaib-fateh.github.io/dice-game/
- Size: 1.79 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dice Game
It is a preview of this game:
## How to Play
1. Start the game by pressing the "ROLL DICE" button.
2. Keep pressing the "ROLL DICE" button to roll the dice and accumulate points.
3. Be careful, if the dice rolls a 1, you will lose your current score.
4. To save your current score and end your turn, press the "HOLD" button.
5. If you want to start a new game, press the "NEW GAME" button.## Technologies Used
- HTML
- CSS
- JavaScript## Development
To run the game locally, follow these steps:
1. Clone the repository: `git clone https://github.com/shoaib-fateh/dice-game.git`
2. Open the `index.html` file in your web browser.Feel free to contribute to the project by submitting a pull request.