GurmanKD / The-Pig-Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The-Pig-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.

Screenshot 2023-06-22 at 5 35 47 PM Screenshot 2023-06-22 at 5 37 12 PM

About


Languages

Language:JavaScript 43.3%Language:CSS 39.2%Language:HTML 17.6%