Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lgope/pig-game
This is a Pig Game! 🎲🎲
https://github.com/lgope/pig-game
css3 dice html5 javascript-dom pig-game player-rolls player-turn
Last synced: about 1 month ago
JSON representation
This is a Pig Game! 🎲🎲
- Host: GitHub
- URL: https://github.com/lgope/pig-game
- Owner: lgope
- Created: 2020-01-18T16:39:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-18T17:42:06.000Z (about 5 years ago)
- Last Synced: 2024-11-20T13:33:35.821Z (3 months ago)
- Topics: css3, dice, html5, javascript-dom, pig-game, player-rolls, player-turn
- Language: JavaScript
- Homepage: https://lgope.github.io/Pig-Game/
- Size: 1.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pig-Game
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.# GAME RULES :
- 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 ✌🙂
### Technology Used :
- HTML5
- CSS3
- JavaScript
### Setup/Installation Requirements :
- Download and install a web browser
- Clone this repository on your local computer
- Open index.html in web browser
### Known Bugs
Feel free to email me at [email protected] 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! 🙂
#### Future Updates
* Enable PWA
* Leaderboard
* Players profile
And More ! There's always room for improvement!
#### Deployed Version (Feel free to visit) 👇
https://lgope.github.io/Pig-Game/