This is a simple web version of the Pig game which was first described in print by John Scarne in 1945. Pig is a simple dice game in which, each turn, a player repeatedly rolls a die until either a 1 is rolled or the player decides to "hold". The first player to score 100 points wins the game.
- The game has 2 players, playing in rounds
- In each turn, a player rolls a dice as many times as he whishes. Each result get added to his ROUND score
- BUT, if the player rolls a 1, all his ROUND score gets lost. After that, it's the next player's turn
- The player can choose to 'Hold', which means that his ROUND score gets added to his GLBAL score. After that, it's the next player's turn
- The first player to reach [FINAL SCORE] points on GLOBAL score wins the game!
Good Luck βπ
- HTML5
- CSS3
- JavaScript
- Download and install a web browser
- Clone this repository on your local computer
- Open index.html in web browser
Feel free to email me at lakshman.gope2@gmail.com if you run into any issues or have questions, ideas or concerns. Please enjoy and feel free to share your opinion, constructive criticism, or comments about my work. Thank you! π
- Enable PWA
- Leaderboard
- Players profile
And More ! There's always room for improvement!