home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
TOP
/
USR
/
SRC
/
yahtzee.t.Z
/
yahtzee.t
/
rools.h
< prev
next >
Wrap
Text File
|
1988-07-28
|
2KB
|
62 lines
static char *rules[] = {
"Rules of Yahtzee",
" ",
"Object:",
" The object of Yahtzee is to make the highest",
" score of all players in each game. This is",
" achieved by rolling dice and placing the",
" dice in the category likely to result in the",
" highest possible score.",
" ",
"Rolling the Dice:",
" The dice are rolled three times per turn for",
" each player. Between rolls the player is able",
" to hold dice so that those dice will not",
" participate in the next roll.",
" ",
"Selection of Best Category:",
" When the dice roll has been completed the player",
" must select a category for the final set of",
" dice. The rules regarding scoring for each",
" category are as follows:",
" ",
" - one, two, ..., six: dice matching the",
" number of the category are summed, this",
" sum is the score (e.g. dice values of",
" 1 4 4 5 6 will score 8 in the 'four'",
" category; 1 in the 'one' category etc.).",
" - three/four of a kind: if at least three/four",
" of the dice are of one kind then the score",
" will be the summation of all dice, otherwise",
" the score is zero",
" - full house: a full house is scored when there",
" exists a pair of dice AND a triplet of dice",
" (e.g. dice values 4 4 4 1 1 represent a full",
" house; 5 of a kind is also a full house).",
" - small straight: a small straight is scored when",
" at least four dice have consecutive values",
" (e.g. 1 2 3 4 2 is a small straight).",
" - large straight: a large straight is scored when",
" at least five dice have consecutive values.",
" - Yahtzee: a Yahtzee is scored when all dice have",
" the same value",
" - chance: the score for chance is the summation",
" of all dice, it is impossible to score less",
" than 5 for chance.",
" ",
" If the dice are placed in a category where they do",
" not satisfy the requirements of that category, they",
" will score zero. The player must select a category",
" in every turn.",
" ",
"End of Game:",
" ",
" When all players have completed their score cards",
" the totals of their scores are calculated and the",
" player with the highest score wins. A bonus of 35",
" is awarded to any player who achieves a sub-total",
" of 63 or more across the categories 'one' to 'six'."};
#define RULE_WIDTH 53
#define RULE_LENGTH 57