home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 056.lha / Kalah.help < prev    next >
Text File  |  1986-11-20  |  3KB  |  90 lines

  1.  
  2.  
  3.     Special Note:
  4.          AmigaDOS Execute does not quite seem to work as advertised. It
  5.     seems to change to Current Directory to SYS: while executing the
  6.     command.  This will probably be fixed when version 1.2 FINALLY comes
  7.     out. However until then, it you want to make this Kalah.help file
  8.     available to the program, move the file to your system disk. (The
  9.     program may use this file but does not need it.)
  10.  
  11.  
  12.  
  13.                          *   *   *   *       *   *   *
  14.                          *  *   * *  *      * *  *   *
  15.                          * *   *   * *     *   * *   *
  16.                          **    *   * *     *   * *****
  17.                          * *   ***** *     ***** *   *
  18.                          *  *  *   * *     *   * *   *
  19.                          *   * *   * ***** *   * *   *
  20.  
  21.                                       by
  22.                                  A. Kaufmann
  23.  
  24.  
  25.          When a move is requested the correct response is a number from
  26.     one to six, anything else will be rejected.
  27.  
  28.     The initial Kalah position is as shown below.
  29.  
  30.                      0  6  6  6  6  6  6
  31.                         6  6  6  6  6  6  0
  32.  
  33.     The board is numbered as follows:
  34.  
  35.                     14 13 12 11 10  9  8
  36.                         1  2  3  4  5  6  7
  37.  
  38.     I (meaning the almighty computer) own one Kalah (#14) and six holes
  39.     (#8, 9, 10, 11, 12, & 13). Similarly you own one Kalah (#7) and six
  40.     holes (#1, 2, 3, 4, 5, & 6). The game begins with six stones in each
  41.     of the twelve holes. A player wins if more than half of the stones 
  42.     are in the player's Kalah. If all the holes of one player become 
  43.     empty (even if it is not his turn to move), the stones remaining in
  44.     the holes of the opponent are put in the Kalah of that opponent, and
  45.     the game ends.
  46.  
  47.          A player begins his move by picking up the stones in one of his
  48.     holes. Proceeding counterclockwise around the board, he puts one of the
  49.     picked-up stones in each hole and his own Kalah (skipping the 
  50.     opponent's Kalah), until no picked-up stones remain.  Three outcomes
  51.     are possible, depending on where the last stone lands.
  52.  
  53.          1. If the stone lands in the player's Kalah, the player goes
  54.             again.
  55.  
  56.          2. If the last stone lands in an empty hole owned by the player
  57.             and if the opponent's hole directly across the board contains
  58.             at least one stone, the player puts his stone and all the
  59.             stones in the opponent's hole into the player's Kalah, and the
  60.             opponent moves next.
  61.  
  62.          3. In this case nothing special happens and the opponent moves
  63.             next.
  64.  
  65.  
  66.          The maximum depth is set by the level of the player determined
  67.     by the program.
  68.                         3-Beginner
  69.                         4-Average Player
  70.                         5-Expert
  71.     The level is changed automatically after each game depending on the
  72.     results of the previous game.  As long as the player wins the maximum
  73.     depth will be increased.  The program has been run on 64K and has
  74.     never aborted due to lack of memory.  
  75.  
  76.     For further information see:
  77.                 Artificial Intelligence:
  78.                 The Heuristic Programming Approach.
  79.                              by
  80.                     James R. Slagle, PH.D
  81.                    John Hopkins University
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. ------------------------------- Cut Here -----------------------------------
  90.