https://github.com/martinsewere/pig-game
This is a simple game that works on the browser. Its a simple HTML5 page that interracts with the browser using javascript
https://github.com/martinsewere/pig-game
browser-game css3 html5 javascript
Last synced: 2 months ago
JSON representation
This is a simple game that works on the browser. Its a simple HTML5 page that interracts with the browser using javascript
- Host: GitHub
- URL: https://github.com/martinsewere/pig-game
- Owner: martinsewere
- Created: 2018-04-21T01:10:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-24T19:40:19.000Z (about 7 years ago)
- Last Synced: 2024-03-18T05:01:07.142Z (about 1 year ago)
- Topics: browser-game, css3, html5, javascript
- Language: JavaScript
- Size: 1.79 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pig-game
This is a simple game that works on the browser. Its a simple HTML5 page that interracts with the browser using javascript## GAME RULES:
- The game has 2 players, playing in rounds
- In each turn, a player rolls a dice as many times as he wishes. Each result gets 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 GLOBAL score. After that, it's the next player's turn
- The first player to reach 100 points on GLOBAL score wins the game## =========================================================



## =========================================================
## ==============SAMPLE GAME- Player 1 Wins the Game!==============

