B. User Manual

The game Yahtzee revolves around a set of 5 dice being rolled to earn a favorable combination that will earn the user points based on the numbers appearing on the top of the dice. The goal is to earn as many of these points as possible.

  1. The gameplay itself starts and ends based off the number of categories the user has scored in. This means that the user must have scored in all 13 scoring categories that contribute towards the final score. Any attempt to score counts as a round and any attempt to score in a category the user has already scored in will only result in prolonging the game
  2. Each round starts with the user being given a computer-generated roll of the dice that is displayed on the screen. The program will then prompt the user as to whether they would like to re-roll any of their dice or keep the current set of dice in order to move on to scoring. The user should keep in mind that for each round, there is a limit of 3 attempts to re-roll however many dice the user would like.
    1. If the user wishes to re-roll any of their dice, they must press ‘y’ to signify they would like to. The program would then prompt the user as to which dice the user wants to re-roll, in which the user must press any number from 1 to 5 on the keyboard. The numbers directly correspond to the order of the dice(left to right) as they appear on the screen. The user would then be given the original prompt on the screen with the graphical display of the dice.
    2. If the user wishes not to re-roll any of their dice, the user should press ‘n’ on the keyboard.
    3. If the user enters any invalid character in response to the message on the screen, then the user will be returned to the original prompt with a warning that they must enter a valid character as suggested by the prompt.
  3. Now that the user has decided the dice which they will attempt to score with, the user is now prompted by the program as to which scoring category the user would like to enter for this round. The user need only type in the category exactly as the category is typed in the prompt.
    1. As stated before, if the user attempts to score in a category they have already scored in, there will be no score counted for this round. A message will be sent to the user alerting them that this category has already been scored in, and the user will be returned to the beginning of a new round.
  4. After the user has scored in a category, their score of that round will be added to the final score. The user will then be returned to the start of a new round.
  5. After all 13 categories have been scored by the user, the user is then prompted the score in each category, as well as the final score of the game.

Yahtzee Scoring Guidelines:

Aces: The user counts as many of their dice are 1’s and add up all of them multiplied by 1. For example, a set like 1 1 3 4 2 would earn two points in the Aces section.

Twos: The user counts as many of their dice are 2’s and add up all of them multiplied by 2. For example, a set like 1 2 3 4 2 would earn four points in the Twos section.

Threes: The user counts as many of their dice are 3’s and add up all of them multiplied by 3. For example, a set like 1 3 3 4 2 would earn 6 points in the Threes section.

Fours: The user counts as many of their dice are 4’s and add up all of them multiplied by 4. For example, a set like 1 4 4 4 2 would earn 12 points in the Fours section.

Fives: The user counts as many of their dice are 5’s and add up all of them multiplied by 5. For example, a set like 1 5 4 4 5 would earn 10 points in the Fives section.

Sixes: The user counts as many of their dice are 6’s and add up all of them multiplied by 6. For example, a set like 6 6 4 4 5 would earn 12 points in the Sixes section.

Chance: The user simply adds up all of the dice and the score is the total number. For example, a set like 6 6 4 4 5 would earn 25 points in the Chance section.

Three of a Kind: If three of the dice are of the same number, then the score is the sum of all the dice. For example, a set like 4 4 4 5 2 would earn 19 points in the Three of a Kind section.

Four of a Kind: If four of the dice are of the same number, then the score is the sum of all the dice. For example, a set like 3 3 3 3 2 would earn 14 points in the Four of a Kind section.

Full House: If three of the dice are of the same number and the other two dice are the same of a different number, then the score is 25 points. For example, a set like 3 3 4 3 4 would earn 25 points in the Full House section.

Small Straight: If four of the dice could be arranged in a consecutive sequence, then the score is 30 points. For example, a set like 1 4 6 2 3 would earn 30 points in the Small Straight section.

Large Straight: If five of the dice could be arranged in a consecutive sequence, then the score is 40 points. For example, a set like 2 4 6 3 5 would earn 40 points in the Large Straight section.

Yahtzee: If all five of the dice are of the same number, the score is 50 points. For example, a set like 3 3 3 3 3 would earn 50 points in the Yahtzee section.