Skip to content

A small dice based board game to practice JavaScript.

Notifications You must be signed in to change notification settings

MukilanMuthu/pig_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pig_game

A small dice-based board game to practice JavaScript.

Rules

  • A player may roll the dice and add the number on the dice to the current score.
  • Clicking on hold adds the current score to the - total score, but gives the next turn to the other player.
  • However, if the player rolls a "1", the current score is reset to "0" and the next turn is given to the other player
  • The first one to get a total score of 100 wins.

About

A small dice based board game to practice JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published