Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.36 KB

README.md

File metadata and controls

27 lines (15 loc) · 1.36 KB

Pig-Game

Play this game from here - https://pig-game-pp.netlify.app/

Game Rules -

  1. You need 2 players to play this game. Starting player is set to player 1.

image

  1. Player 1 will roll a dice first. As many times the player 1 rolls dice, that sum will be stored in current value.

image

  1. If Player 1 holds this value, then that value will stored in total and current will again reset to 0 for player 1 and It will be turn of player 2 now.

image

  1. Player 2 will roll the dice and can hold the value.

image

  1. If before holding the value, the player gets one on dice then player will lost his turn and current value will be set to 0 as It wont be added in total.

image

  1. The Player wins the game whose total score becomes 100 first.

image