This is a very enjoyable dice game. For the game to work, there must be two players. They each take turns to roll the dice and the first person to get to 100 points is declared the winner, 02nd, March 2019.
The pig dice game can best be explained using its rules:
- For each player's round, one can roll the die as many times as they want.
- The goal is to accumulate as many points as possible, adding up the numbers rolled on the die.
- If a player rolls a 1 on the die, the player's turn is over and any points they have accumulated so far are forfeited.
- A player can also choose to hold (stop rolling the die) if they do not want to take a chance of rolling a 1 and losing all of their points.
- If the player chooses to hold, all of the points rolled during that turn are added to his or her score, and the next player takes a turn.
- The first player to reach a total of 100 points wins the game and the game ends.
- The user requires an Internet connection to log into the website.
- After logging into the Pig Dice site, both players are required to enter their names to start the game.
- The players should then come across a set of rules to follow, they should go through them so as to understand how to play and what to expect from the game.
- They can then start playing and the results for each round and the total will be displayed.
Input/ Dice Roll | Cumulative Score | Total Score |
---|---|---|
5, 2, 6,hold | 13 | 13 |
6, hold | 6 | 19 |
4, 2, 5, 7, 8,hold | 26 | 45 |
3, 4, 1 | 0 | 0 |
There are currently no known bugs.
This program has been built using HTML to write the content, CSS for styling purposes, JavaScript to create the business logic and the user- interface, ensuring that the program works as expected and Markdown for the README page.
For more information, questions, or help using the program, get in touch with me on +254 726 047102 or email: kimita.wanjiku@gmail.com.
MIT Copyright (c) 2019 Elizabeth Wanjiku Kimita