Pig-Dice

This is a project on the recreation of the website containing a game called Pig-Dice

Description

Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player decides to "hold": If the player rolls a 1, they score nothing and it becomes the next player's turn. If the player rolls any other number, it is added to their turn total and the player's turn continues. If a player chooses to "hold", their turn total is added to their score, and it becomes the next player's turn. The first player to score 100 or more points wins. For example, the first player, Anne, begins a turn with a roll of 5. Anne could hold and score 5 points, but chooses to roll again. Anne rolls a 2, and could hold with a turn total of 7 points, but chooses to roll again. Anne rolls a 1, and must end her turn without scoring. The next player, Bob, rolls the sequence 4-5-3-5-5, after which he chooses to hold, and adds his turn total of 22 points to his score.

Technologies Used

i used html and css when developing the website.i also added a bit of javascript to my work inorder to make some of the features interactive when a user imputs data.

Support and contact details

inorder to contact me, you can email me at chriswainaina0@gmail.com

License

licensed by MIT Copyright (c) 2018