Skip to content

pr2tik1/rollin-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rollin 100

Rollin 100 is a simple JavaScript-based game where two players roll dice to accumulate points, aiming to be the first to reach a score of 100.

Image 1 Image 2

Technologies Used

  • JavaScript
  • HTML
  • CSS

Flowchart :

How to Play

Players take turns rolling a dice. Each roll adds to their current score. If a player rolls a 1, they lose their current score and it becomes the next player's turn. Players can choose to hold, which adds their current score to their total score, and then it's the next player's turn. The first player to reach a score of 100 wins the game.

Demo

Live demo here : https://rollin-100.netlify.app/

Reference

The Complete JavaScript Course 2024: From Zero to Expert!