Skip to content
This is my version of the Pig Dice Game. Alot of time went into this to make sure it functioned the way I wanted.
JavaScript CSS HTML
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.
README.md
back.jpg
dice-1.png
dice-2.png
dice-3.png
dice-4.png
dice-5.png
dice-6.png
index.html
pigGame.js
style.css

README.md

pigDiceGame

This is my version of the Pig Dice Game. Alot of time went into this to make sure it functioned the way I wanted.

Rules Players roll a dice back and forth. Points are equal to the numeric value shown on the dice. i.e. if you roll a 4 you have 4 points. You only KEEP the points you SAVE. If you roll a 1, you will lose all of your unsaved points for that round. Your turn will end. This begins the next players turn. First to 20 wins.

If you want a longer game change the code on line 57 of the pigGame.js file from 20 to whatever number you want. Traditionally the game goes to 100.

You can’t perform that action at this time.