A single-player version of the classic probability dice 🎲 game Yahtzee™ written in Processing. Download executables for Windows. Download executables for Linux distributions. For more instructions on how to run on Linux, click here. Download installer for Windows (64-bit). If you are interested to run the source code in Processing IDE on your preferred OS, you can go through the steps mentioned here.
- Download Processing. Processing is available for Linux, Mac OS X, and Windows. Select your choice to download the IDE.
- Download the source code (zipped) for Yahtzee™ and unzip it.
- Goto the project folder 📁 and rename the "Simplified-Version-of-Yahtzee-main" folder to "Yahtzee" found inside the project folder.
- Move the "Yahtzee" folder to sketchbook location. Default sketchbook location is
C:\Users\<name>\Documents\Processing
for Windows, here<name>
is the name of your user account. - Go inside the "Yahtzee" folder and open the "Yahtzee.pde" source file with Processing.
- Click on Run ▶ button inside Processing and play.
-
Download executables for Linux distributions.
-
Go to the specific folder 📁 from the folders "application.linux32", "application.linux64", "application.linux-arm64", and "application.linux-armv6hf" found inside the unzipped "Yahtzee-Linux-Executables" folder for your specific Linux machine.
-
Right-click on the "Yahtzee" file found inside a specific folder dedicated to your specific machine.
-
Click on "Properties", then go to the "Permissions" tab and check ☒ "Allow executing file as program" under the "Execute:" label.
-
Close the window and right-click on an empty area to open the terminal here.
-
Click on "Open in Terminal" to open the terminal and run the following command:
$ ./Yahtzee
📌 Yahtzee™ is a dice game based on Poker. The object of the game is to roll certain combinations of numbers with five 6-sided dice. At each round, you throw dice trying to get a good combination of numbers. Different combinations give different scores. While luck plays a big role in Yahtzee™, the strategy makes a significant difference. The reason for this is that you score each combination just once, and the number of different combinations in which you can score is equal to the number of rounds in the game. This means that you have to make wise choices about when to score in each combination and you have to be careful about what combinations you seek at each round.
📌 The game consists of thirteen rounds. Each round consists of up to three separate rolls of the dice. On the first roll, you roll all five of the dice. After the first and second roll, you can hold any subset of the five dice you want (including none of the dice or all of the dice) and roll the rest trying to get a good combination. After the three rolls (or after the first or second roll if you choose to stop) you must find a place among the thirteen scoring boxes in the scoresheet to put your score. The scoring categories have varying point values, some of which are fixed values and others for which the score depends on the value of the dice. The score you get depends on the box that you choose and the combination that you have rolled. After a scoring box is used, you can't use it again, so you have to choose wisely. This means that, in general, you don't have to choose the box that gives you the highest score for the combination you have rolled, since it may be advantageous to save that box for an even better roll later in the game. In fact, there are many situations in which it makes sense to put a 0 in a "bad" box instead of a low score in another "good" box because doing so would block the "good" box for future rounds.
📌 The game is completed after 13 rounds, with all the scoring boxes filled. The total score is calculated by summing all thirteen boxes, together with any bonuses. The winner is the player who scores the most points. The Yahtzee™ scoresheet contains 13 scoring boxes divided into upper and lower sections.
In the upper section there are six boxes. The score in each of these boxes is determined by adding the total number of dice matching that box.
If a player scores a total of 63 or more points in these six boxes, a bonus of 35 is added to the upper section score. Although 63 points corresponds to scoring exactly three-of-a-kind for each of the six boxes, a common way to get the bonus is by scoring four-of-a-kind for some numbers so that fewer of other numbers are needed. A player can earn the bonus even if they score a "0" in an upper section box.
The lower section contains a number of poker-themed categories with specific point values.
If a category is chosen but the dice do not match the requirements of the category the player scores 0 in that category. Some combinations offer the player a choice as to which category to score them under; e.g., a full house could be scored in the Full House, the Three-Of-A-Kind, or the Chance categories. The Chance category is often used for a turn that will not score well in any other category.