Skip to content

Pilot JavaScript Project: As the name says, it's a dice rolling game!

License

Notifications You must be signed in to change notification settings

MBK070/Dice-Rolling-Game

Repository files navigation

Netlify Status

Access to Live-Site: https://game-of-chance.netlify.app/

Game Theme:

Dice Rolling Game (Aka 'Pig Game') is a game first described in print by John Scarne in 1945 "source Wikipedia: https://en.wikipedia.org/wiki/Pig_(dice_game)".

Game Rules:

It's a Two Players game. 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.

Example:

The first player, "Player 1", begins a turn with a roll of 5. "Player 1" could hold and score 5 points, but chooses to roll again. "Player 1" rolls a 2, and could hold with a turn total of 7 points, but chooses to roll again. "Player 1" rolls a 1, and must end his turn without scoring. The next player, "Player 2", rolls the sequence 4-5-3-5-5, after which "Player 2" decides to hold, and adds their turn total of 22 points to their score.

Ready to test your Metal. Then what are you waiting for? Let's Play!

About

Pilot JavaScript Project: As the name says, it's a dice rolling game!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published