Skip to content
🐷 Pig is a simple game you can play with a single 6-sided die
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
favicons
README.md
app.js
dice-1.png
dice-2.png
dice-3.png
dice-4.png
dice-5.png
dice-6.png
index.html
style.css

README.md

Pig (dice game)

The dice game Pig is considered a "jeopardy game", where you risk all your points to see if you can win more. The numbers on the die, except for "1", represent points that the player can accumulate.

Gameplay

Each turn, a player repeatedly rolls a die until either a "1" is rolled or the player decides to "hold":

  • If the player rolls a "1", he/she scores nothing and it becomes the next player's turn.
  • If the player rolls any other number, it is added to his/her turn total score and the player's turn continues.
  • If a player chooses to "hold", his/her turn total score is added to the global score, and it becomes the next player's turn.

The first player to score 100 or more points wins.

You can’t perform that action at this time.