Skip to content

john-roufaeil/dice-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Dice Game

Description

A simple two player game built using JavaScript. Each player can roll the dice as many times as they want and the sum of these rolls will be added to their current score. The player can hold this score and get added to their total score and it is the other player's turn. If the dice rolled a "1", the current score gets nullified and the it is the other player's turn. The winner is the player to reach 100 first.

Usage

The game is deployed on this site: https://dice-game-john.vercel.app