Skip to content

Saurabh-Suchak/pig-game

Repository files navigation

pig-game

Pig game is a simple dice game made by using HTML,CSS and Javascript.

Rules-

It is a 2 player game where players take turn and roll the dice.

After rolling the dice, the player has 2 choices, either to hold (i.e add the number to his score and turn of next player comes) or to roll again. If he chooses to roll again, he again has the above 2 choices but if after rolling the dice, the number comes out to be 1 , then he looses all the current score he got till then and the chance of the next player arrives.

The player who reaches score of 100 first, wins the game.

Releases

No releases published

Packages

No packages published