Skip to content

A dice game to see who can reach 100 points first.

Notifications You must be signed in to change notification settings

Jengas2015/Pig-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Pig-Game

A dice game to see who can reach 100 points first.

INSTALLATION INSTRUCTIONS:

  • Click 'Clone or Download' at the top right
  • Click 'Download ZIP'
  • Locate your ZIP file at the downloaded location and extract ZIP file
  • Open 'starter' folder and open 'index.html'

GAME RULES:

  • The game has 2 players, playing in rounds
  • In each turn, a player rolls a dice as many times as he whishes. Each result get added to his ROUND score
  • BUT, if the player rolls a 1, he loses all of his ROUND score. After that, it's the next player's turn
  • The player can choose to 'Hold', which means that his ROUND score is added to his GLOBAL score. The turn is then passed to the next player
  • The first player to reach 100 points on GLOBAL score wins the game!

SPECIAL RULE:

  • Unlike the standard pig game, in this game, if the current player rolls 6 twice in a row, he loses all of his points for both the round and the game and the turn is passed to the other playe

ADDITIONAL OPTION:

  • Either player can set the winning score for the game to be different than the default score of 100 points by inputting the desired final score in the blank field provided in the center of the screen.

About

A dice game to see who can reach 100 points first.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published