Skip to content

BenoitGaudieri/react-yahtzee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Yahtzee

Yahtzee game made with react.

Completed project at: https://benoitgaudieri.github.io/react-yahtzee/

The Game

Yahtzee is a chance-and-strategy dice rolling game. A game is played over 13 rounds.

Each round, the player rolls five 6-sided dice. They may click on any number of dice to “freeze” or “unfreeze” them (frozen dice are displayed in a different color). They may re-roll the unfrozen dice up to 2 times.

Each round, they must assign their dice to any unclaimed scoring category. Each category scores differently.

After 13 rounds, the game is over, and the player’s score is the total of each scoring category.

Scoring Table

Category Description Example Score
Ones Score 1 for every 1 1 1 2 3 4 = 2
Twos Score 2 for every 2 1 2 2 3 4 = 4
Threes Score 3 for every 3 1 2 3 3 3 = 9
Fours Score 4 for every 4 1 2 4 4 5 = 8
Fives Score 5 for every 5 1 2 5 5 5 = 15
Sixes Score 6 for every 6 1 2 3 6 6 = 12
3 of Kind If 3+ of one value, score sum of all dice (otherwise, score 0) 1 2 3 3 3 = 12
4 of Kind If 4+ of one value, score sum of all dice (else 0) 1 2 2 2 2 = 8
Full House If 3 of one value and 2 of another, score 25 (else 0) 2 2 3 3 3 = 25
Small Straight If 4+ values in a row, score 30 (else 0) 1 2 3 4 6 = 30
Large Straight If 5 values in a row, score 40 (else 0) 1 2 3 4 5 = 40
Yahtzee If all values match, score 50 (else 0) 2 2 2 2 2 = 50
Chance Score sum of all dice 1 2 3 4 6 = 16

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published