Pig Dice is a game of luck and intrigue where players roll a die until they get a one or choose to stop and bank their total. First player to bank 100 points wins
Author : Sayan Maity
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 GLOBAL score. After that, it's the next player's turn
- The first player to reach 100 points on GLOBAL score wins the game
- Frontend: Javascript
- Version Control: Git
- Hosting: Netlify, Github Pages
Fork and Clone this project. Make sure you have git installed. On the terminal, navigate to your workspace directory and run the game
Pull requests are encouraged
- The game rules can be included within the webpage itself to help users understand the game
- UI part can be improved by adding some animations
- Instead of default 100 points, players are able to set the benchmark by themselves
This project is licensed under the MIT license.
Copyright (c) 2022 {Sayan Maity}