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 >
Text File  |  1988-07-28  |  2KB  |  62 lines

  1. static char *rules[] = {
  2.     "Rules of Yahtzee",
  3.     " ",
  4.     "Object:",
  5.     " The object of Yahtzee is to make the highest",
  6.     " score of all players in each game.  This is",
  7.     " achieved by rolling dice and placing the",
  8.     " dice in the category likely to result in the",
  9.     " highest possible score.",
  10.     " ",
  11.     "Rolling the Dice:",
  12.     " The dice are rolled three times per turn for",
  13.     " each player.  Between rolls the player is able",
  14.     " to hold dice so that those dice will not",
  15.     " participate in the next roll.",
  16.     " ",
  17.     "Selection of Best Category:",
  18.     " When the dice roll has been completed the player",
  19.     " must select a category for the final set of",
  20.     " dice. The rules regarding scoring for each",
  21.     " category are as follows:",
  22.     " ",
  23.     " - one, two, ..., six: dice matching the",
  24.     "     number of the category are summed, this",
  25.     "     sum is the score (e.g. dice values of",
  26.     "     1 4 4 5 6 will score 8 in the 'four'",
  27.     "     category; 1 in the 'one' category etc.).",
  28.     " - three/four of a kind: if at least three/four",
  29.     "     of the dice are of one kind then the score",
  30.     "     will be the summation of all dice, otherwise",
  31.     "     the score is zero",
  32.     " - full house: a full house is scored when there",
  33.     "     exists a pair of dice AND a triplet of dice",
  34.     "     (e.g. dice values 4 4 4 1 1 represent a full",
  35.     "     house; 5 of a kind is also a full house).",
  36.     " - small straight: a small straight is scored when",
  37.     "     at least four dice have consecutive values",
  38.     "     (e.g. 1 2 3 4 2 is a small straight).",
  39.     " - large straight: a large straight is scored when",
  40.     "     at least five dice have consecutive values.",
  41.     " - Yahtzee: a Yahtzee is scored when all dice have",
  42.     "     the same value",
  43.     " - chance: the score for chance is the summation",
  44.     "     of all dice, it is impossible to score less",
  45.     "     than 5 for chance.",
  46.     " ",
  47.     " If the dice are placed in a category where they do",
  48.     " not satisfy the requirements of that category, they",
  49.     " will score zero. The player must select a category",
  50.     " in every turn.",
  51.     " ",
  52.     "End of Game:",
  53.     " ",
  54.     " When all players have completed their score cards",
  55.     " the totals of their scores are calculated and the",
  56.     " player with the highest score wins. A bonus of 35",
  57.     " is awarded to any player who achieves a sub-total",
  58.     " of 63 or more across the categories 'one' to 'six'."};
  59.  
  60. #define RULE_WIDTH 53
  61. #define RULE_LENGTH 57
  62.