Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T13:15:42.000Z (about 1 year ago)
- Last Synced: 2023-10-15T23:01:44.012Z (about 1 year ago)
- Topics: css3, html5, javascript
- Language: CSS
- Homepage: https://shoaib-fateh.github.io/dice-game/
- Size: 1.79 MB
- Stars: 1
- 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:
![Game Preview](./preview.png)## 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.