Skip to content

Vidhya0501/project3_DOM_Dicegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice game using JS DOM. image

It is designed as a two player game. Randomly any one player wil start the game. Once dice is rolled corresponding number will be added with corresponding player score. Once a player rolled a dice his roll option will be disabled till other person rolls & its vice versa. Player who scored 30 points first will considered as winner. After a player wins a game, roll button will set to disabled mode and reset button needs to be clicked to start the new game.