-
Dice It is a 2 player game with following rules:
- A player continues to roll the dice until he decides to hold or he scores 1.
- While the player rolls dice everytime, the total score for current round increments with dice value.
- If scored 1 , the player not only get switched. But the round score for the 1 scoring player is considered 0. To avoid such scenario, a player can hold to save the current round score.
- The first player to reach a score of 100 wins the match
-
The app is developed in HTML, CSS & Javascript. Bootstrap is used as a framework for CSS.
-
- This porject is a part of Javascript course on Udemy by Jonas Schmedtmann.
-
Try the game here.
Following features have been implemented:
- Input names of players
- Beautiful UI & UX Designs
- Play any no. of matches without fail
- Restart game at any point
Screen Name | Screenshots |
---|---|
Landing Page | |
Match Page |
Clone the repository on your local machine.
git clone git@github.com:imKashyap/dice-game.git
Run index.html
file on a live server or any browser and make sure you see the following screen:
This repository is licensed under MIT.
Do fork and star ⭐ the repo if you find it appreciable.