Skip to content

The game of Pig is a very simple jeopardy dice game in which two players race to reach 100 points.

Notifications You must be signed in to change notification settings

MisterBolt/pig-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Game

The game of Pig is a very simple jeopardy dice game in which two players race to reach 100 points. Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player holds and scores the sum of the rolls (i.e. the turn total). At any time during a player's turn, the player is faced with two decisions:

  • roll - If the player rolls a:
    • 1: the player scores nothing and it becomes the opponent's turn.
    • 2 - 6: the number is added to the player's turn total and the player's turn continues.
  • hold - The turn total is added to the player's score and it becomes the opponent's turn.

Live preview

You can access the live preview version of the project here.

Installation and Setup Instructions

  1. Clone the repository.
  2. Open "index.html" in your browser

About

The game of Pig is a very simple jeopardy dice game in which two players race to reach 100 points.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published