Skip to content

This application is an online version of "The Game of Pig". Allows 2 players

Notifications You must be signed in to change notification settings

Alanmp1857/Dice-game

Repository files navigation

Dice game application

The idea of this game is that you can roll a dice as many times you want before you click on hold, it keeps getting added to the current score, if the dice shows 0, you current score also becomes 0 and the turn goes to the second player, eventually whoever scores 100 at first, wins the game.

The game is a simple jeopardy dice game in which two players race to reach 100 points. Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player holds and scores the sum of the rolls (i.e. the turn total).

Game page

dicegame

Flowchart

pig-game-flowchart

Hoisted at https://dicegame1-alanmp.netlify.app/