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 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
A dice game implemented with JavaScript and spring boot
I am very happy and thrilled you want to give me a hand! Here are a few tips to get you started quickly. NB: All source codes can be found on the Pig Game Repos. You can learn how to contribute to GitHub Open Source Projects on egghead.io
- Create your own fork
- Create a new branch whenever you want to make a pull request
-
The GitHub Issue tracker is the place to submit bugs for discussion, but first I ask that you:
- Search through the existing issues. If it doesn't exist, I welcome you to start a new issue
- Provide as much information as you can, this will help me to resolve bugs quickly.
- Please include screenshots or short videos that demonstrate the issue.
I am really grateful for any code changes you wish to submit. To ensure your PR gets accepted quickly please ensure the following:
- Create a new branch in fork
- Squash your history into one commit.
- Optional: Start an issue to discuss your suggestion.
- Start a pull request and give a description of the changes you have made
Are you a developer who wants to use my code for commercial use? You are free to use it. However check out GPL license for more information.
Copyright (c) 2017 Ebenezer Graham - Released under the GPL license.