Skip to content

Both players compete to achieve a score of 100 points. The first one reaching this score wins.

Notifications You must be signed in to change notification settings

steffano-da-cruz/pig-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Game

Pig Game

💻 About the project

Both players compete to achieve a score of 100 points. The first one reaching this score wins.

🤔 How it works

The player 1 kicks off pushing the 'roll dice' button. A random number is generated and showed at the current score tally and on the dice as well. If player 1 rolls 1, the game switches to player 2 and the current score is lost. The active player can save the current score by pushing the 'hold button' but, by doing it, the game switches the player. The first player reaching 100 points wins.

🛠 Technologies used

  • HTML5
  • CSS3
  • JavaScript

HTML5 CSS3 JavaScript

✉️ Contact me

About

Both players compete to achieve a score of 100 points. The first one reaching this score wins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published