/Dice-Game

A basic dice game built in HTML CSS & Javascript

Primary LanguageHTMLMIT LicenseMIT

Dice It 🎲

License: MIT

  • 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.


Table of Contents


Features

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

Screenshots

Screen Name Screenshots
Landing Page Screenshot of the App
Match Page Screenshot of the App

Getting Started

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:

Screenshot of the landing page of Web Server

License

This repository is licensed under MIT.

Do fork and star ⭐ the repo if you find it appreciable.