Skip to content
This is a random dice game called Pig.
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.
fonts
public
src
static
.eslintignore
.eslintrc.js
.gitignore
LICENSE
README.md
gulpfile.js
index.html
netlify.toml
package.json
sw.js
yarn.lock

README.md

Pig (Dice Game)

This is a Dice Game called Pig

You can read more about this game on wikipedia

Screenshot of dice game

This project was built using the following

  • HTML
  • SCSS
  • JavaScript
  • Ionicons Icon Font Pack

Two-Dice Pig

This variation is the same as Pig, except:

  • Two standard dice are rolled. If neither shows a 1, their sum is added to the turn total.
  • If a single 1 is rolled, the player scores nothing and the turn ends.
  • If two 1s are rolled, the player’s entire score is lost, and the turn ends.
  • If a double is rolled, the point total is added to the turn total as with any roll but the player is obligated to roll again (possible sub-variation of the two-dice game)
You can’t perform that action at this time.