Skip to content

mohammedabbas27/Pig-Game

Repository files navigation

PIG Game

made-with-javascript PyPI - Status

Pig is a simple dice game As with many games of folk origin, Pig is played with many rule variations. The objective is to be the first to meet or exceed a goal score


Demo


Download and Installation

  • Clone the repository
  • https://github.com/mohammedabbas27/Pig-Game.git
  • Execution
  • Run the following file in any modern browser:
    index.html
    

Rules of the game

    Each turn, a player repeatedly rolls two dice until either a 1 is rolled or 6 is rolled or the player decides to "hold":
  • If the player rolls a 1, they score nothing and it becomes the next player's turn.
  • If the player rolls a 6, they lose their overall score and it becomes the next player's turn.
  • If the player rolls any other number, it is added to their turn total and the player's turn continues.
  • If a player chooses to "hold", their turn total is added to their score, and it becomes the next player's turn.

© 2019 Mohammed Abbas. All rights reserved.

About

Pig is a simple dice game As with many games of folk origin, Pig is played with many rule variations. The objective is to be the first to meet or exceed a goal score

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors