/The-PIG-Game

Two Player Game wherein player which crosses the set score first will win

Primary LanguageJavaScript

The-PIG-Game

Published Here: https://hackerdx.github.io/The-PIG-Game/

I) How Game Works

  1. Set the score between 100 - 99999
  2. Roll dice button will return arbirary number between 1-6 i) if 1 comes on any one of the dice then trun switches to another player ii) if 6 comes to any of the dice the turn switches to another player and the score also reset to 0.
  3. Player wins if the player's score is greater or equal to the set score.

II) OPEN FOR IMPROVEMENTS.

III) Please give it a star if you liked it.....Thankyou..:-)

PS: press F11 if score box is not visible