B. User Manuals

War

Directions
-Each player starts with exactly half of a traditional deck of shuffled playing cards.
-Players then both pull out their top card and lay it face up on the table.
-Whoever has the higher value card wins, and puts their card and the opponent’s card back in their deck.
-Card values are as follows: 1-10=1-10, J=11, Q=12, K=13, A=14.
-If there is a tie, players leave the original cards on the table, and each lay 3 of their cards face down next to the originals, and then both draw and show 1 additional card. The winner between that final card wins all of the cards that are currently on the table, which including their own, is a total of 10 cards.
-This continues until 1 player is out of cards, so the player who has all of the cards is the winner of the war.

 

Directions for MATLAB users:
-Game rules are the same
-To take each turn, press the 1 key and then hit enter.
-To quit at anytime press any other key, and then hit enter.

 

Yahtzee

Directions:
The game starts off with five dice, a cup and a scoresheet
Each player begins their turn by using the cup to roll the 5 dice
Then they can choose as many dice as they want to reroll
After the reroll they may reroll again, but only the dice that were rerolled already
Then the player chooses which category they want to use the dice for based on their rolls
Scoring:
The score is based on which category the player chooses for the dice.
If the player chooses anything in the upper half of the score sheet they add up however many of that specific die they have. For example for the ones category they would add up all the 1 dice they have for the score.
If the player has 3 of a kind or 4 of a kind they add up those dice
If the player has a full house (3 of a kind and a pair) they get 25 points.
If the player has a small straight (4 values in a row) they get 30 points.
If the player has a large straight (all 5 different dice values) they get 40 points
If the player chooses chance all 5 dice are added up to get the score.
If the player gets a yahtzee or five of a kind they get 50 points for the first one and then an additional 100 points for everyone afterwards.

Directions for MATLAB users:
For the first question the valid responses are based on the positions of the dice with it going from dice 1 to dice 5
After the first reroll it goes through and asks for a 1 or 0 to say yes or no to another reroll
Then the player has to choose a category through 1-6 and 10-17 you can also use 19 to skip

 

(3H. References 3-4).