/pigGame

2 player dice game

Primary LanguageJavaScript

pigGame

2 player dice game

  • The game has two players,playing in rounds
  • in each turn, a player rolls a dice as many times as he wishes.Each result get added to his round score
  • But if the player rolls a 1 ,all his ROUNd score gets lost . After that ,it's next player's turn
  • The player can choose to 'HOLD',which means his round score gets added to his 'GLOBAL' score. After that ,it;s the next player's turn
  • The first player to reach 100 points on GLOBAL score wins the game