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 / help.h < prev    next >
Text File  |  1988-07-28  |  5KB  |  140 lines

  1. #define max_lines 20
  2. #define max_cols 55
  3.  
  4. char help_words[9][max_lines + 1][max_cols + 1] = {
  5.     {"Player Selection",
  6.      " ",
  7.      "This is where you select which players will be",
  8.      "human and which will be simulated by the computer.",
  9.      " ",
  10.      " press 'k' - to move the cursor up",
  11.      "       'j' - to move the cursor down",
  12.      "     space - to toggle between human or computer",
  13.      "       'b' - to display rule book",
  14.      "       'q' - to quit the game",
  15.      "       'v' - version display",
  16.          "    return - to begin play",
  17.      "other features:",
  18. #if defined(SYS5) || defined(SYS5_3)
  19.      " - shell window available by pressing '$' during play",
  20. #endif
  21.      " - on-line help available by pressing '?' during play",
  22.      " - redraw current window with '^L'",
  23.      " - rule book available by pressing 'b' during play"},
  24.     {"End of Game",
  25.      " ",
  26.      "To continue the game press 'c', otherwise press",
  27.      "'q' to quit.  Note that the high score file will",
  28.      "only ever keep the highest score in the given round.",
  29.      "The high score file can be displayed by pressing 's'",
  30.      "at most times (including now).",
  31.      " ",
  32.      "The game can be reconfigured by pressing 'r'.",
  33.      "This allows you to alter the number of players",
  34.      "and which players are simulated."},
  35.     {"Select Dice to Hold",
  36.      " ",
  37.      "Select which dice you want to hold such that they",
  38.      "will not be part of the next roll of the dice.",
  39.      "Hold the dice that are likely to give the best",
  40.      "score for your score-card.",
  41.      " press 'l' - to move cursor right",
  42.      "       'h' - to move cursor left",
  43.      "     space - to hold/free die cursor is on",
  44.      "    return - to roll dice",
  45.      "       'r' - to get computer's advice on best hold",
  46.      "       't' - shows value of dice in all categories",
  47.      "       'a' - to hold all dice then roll",
  48.      "       'b' - to display rule book",
  49. #if defined(SYS5) || defined(SYS5_3)
  50.      "       '$' - to obtain shell window",
  51. #endif
  52.      "       '!' - to obtain shell",
  53.      "       'q' - to quit the game"},
  54.     {"Select Score Card Position",
  55.      " ",
  56.      "Select one of the available places to put the",
  57.      "score for your final set of dice.  If your dice",
  58.      "don't meet the requirements for the selected place",
  59.      "you will receive 0 points (e.g. putting 1 2 3 6 6 in",
  60.      "the 'three of a kind' position).",
  61.      " ",
  62.      " press 'k' - to move the cursor up",
  63.      "       'j' - to move the cursor down",
  64.      "    return - put score in indicated category",
  65.      "       'r' - get computer's advice on best category",
  66.      "       't' - shows value of dice in all categories",
  67.      "       'b' - to display rule book",
  68. #if defined(SYS5) || defined(SYS5_3)
  69.      "       '$' - to obtain shell window",
  70. #endif
  71.      "       '!' - to obtain shell",
  72.      "       'q' - to quit the game"},
  73.     {"Rules of Yahtzee",
  74.      " ",
  75.      "These are not the definitive rules for this game,",
  76.      "many other versions exist, the game is sometimes",
  77.      "referred to as 'dice poker'.  Possibly the rule",
  78.      "with the greatest variation is the 'two hold' rule",
  79.      "where the dice are held twice.  Some versions of",
  80.      "Yahtzee only allow for one chance at holding dice.",
  81.      "Allowing the player to hold twice, however, decreases",
  82.      "the amount of 'luck' required to win, and increases",
  83.      "the need for skillfull play."},
  84.     {"Help",
  85.      " ",
  86.      "Help is available at all stages of the game.",
  87.      "Press 'q' or space to exit help.",
  88.      " ",
  89.      " press 'b' - to display rule book",
  90.      "       's' - to display current scoreboard",
  91.      "      '^L' - to redraw current window",
  92.      "       '!' - to obtain shell escape",
  93. #if defined(SYS5) || defined(SYS5_3)
  94.      "       '$' - enters shell window when pressed",
  95. #endif
  96.      "       'v' - display yahtzee version"},
  97.     {"Player Count",
  98.      " ",
  99.      "Input the number of players, this version can have",
  100.      "up to six players in a game. Also you can...",
  101.      " ",
  102.      "press 'q' - to quit the game",
  103.      "     '^L' - redraws screen whenever pressed",
  104.      "      'b' - displays the rule book whenever pressed",
  105. #if defined(SYS5) || defined(SYS5_3)
  106.      "      '$' - enters shell window whenever pressed",
  107. #endif
  108.      "      '!' - to obtain shell",
  109.      "      'v' - displays yahtzee version",
  110.      "      's' - displays the score board when pressed"},
  111.     {"High Score",
  112.      " ",
  113.      "This is the most recent high score file, it is",
  114.      "updated at the end of each game.  Only the player",
  115.      "with the highest score in a game is eligable to",
  116.      "have their score recorded.",
  117.      " ",
  118.      "press 'q' - to resume the game",
  119.      "     '^L' - to redraw the current window",
  120. #if defined(SYS5) || defined(SYS5_3)
  121.      "      '$' - to obtain shell window",
  122. #endif
  123.      "      '!' - to obtain shell",
  124.      "      'v' - displays yahtzee version",
  125.      "      'b' - to display the rule book"},
  126.     {"Shell Window",
  127.      " ",
  128.      "This is a limited shell window and should not be",
  129.      "used for programs using full screen curses(3X)",
  130.      "features (e.g. don't try to play yahtzee from",
  131.      "inside this shell window).  Programs that expect",
  132.      "input from stderr will also fail.",
  133.      "To leave the shell and return to the game type",
  134.      "exit at the shell prompt.  Also:",
  135.      " ",
  136.      "press '~.' - to kill shell",
  137.      "      '~T' - to signal SIGTERM to shell",
  138.      "      '~c' - toggle ticking clock on or off",
  139.      "      '~~' - to send tilde to shell"}};
  140.