Skip to content

Pig Game is a dice rolling game created using Javascript, CSS, & HTML.

License

Notifications You must be signed in to change notification settings

marijabrzev/pig-game

Repository files navigation

pig-game

Welcome to Pig Game

Objective: The objective of the game is to be the first player to reach a total score of 100 or more points.

mainpage

Rules: Player 1 will start the game. Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player decides to "hold" and end their turn: If the player rolls a 1, their turn ends and they receive no points for the turn. If the player rolls any other number, it is added to their turn total and they can choose to either roll again or hold.

If they choose to hold, their turn total is added to their score, and the turn ends. Players can also choose to use additional rules or variations, such as requiring a minimum score to start adding to their total, playing with two or more dice, or allowing the option to "double" or "triple" their score with certain rolls.

The first player to reach 100 or more points will win.

Screenshot 2023-04-26 at 7 57 03 AM

About

Pig Game is a dice rolling game created using Javascript, CSS, & HTML.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published