aniket-24 / Pig-Game

Pig is a simple dice game. Players take turns to roll a single dice as many times as they wish, adding all roll results to a running total, but losing their gained score for the turn if they roll a 1.

Home Page:https://aniket-24.github.io/Pig-Game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pig game

Pig is a simple dice game.

Each turn, a player repeatedly rolls a dice 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 20 or more points wins.

pig-game

About

Pig is a simple dice game. Players take turns to roll a single dice as many times as they wish, adding all roll results to a running total, but losing their gained score for the turn if they roll a 1.

https://aniket-24.github.io/Pig-Game/


Languages

Language:CSS 44.1%Language:JavaScript 37.2%Language:HTML 18.8%