Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.