Skip to content

This is an dice game app where two user can play with each other the one who scores 100 first wins the game whenever a user roll a dice the generated number on dice will be allocated and it's on user whether to collect it or not, at a certain point if not collected it will become 0 and the control goes to next player.

Notifications You must be signed in to change notification settings

giri2103/DiceGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiceGame

This is a simple game where two people can play this game every time a user roll a dice a random number from 1 to 6 is generated and a varible is created which will store the value the same user can again roll the same dice, the user can roll the dice till the dice is generating a number from 1 to 6 if the dice generates a zero then zero will be multiplied with the value and then the turn will be of user2 now or when the user collect the accumulated value then the next turn goes to the next player hand. The player whose score reaches 100 first wins the game.

Demo

Demo

Screenshot

...

Tech Stack

Client: HTML, CSS, Vanilla JavaScript

About

This is an dice game app where two user can play with each other the one who scores 100 first wins the game whenever a user roll a dice the generated number on dice will be allocated and it's on user whether to collect it or not, at a certain point if not collected it will become 0 and the control goes to next player.

Topics

Resources

Stars

Watchers

Forks