home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / pocketbk / games / oxo3d / Oxo3d.txt < prev   
Text File  |  1995-05-24  |  12KB  |  323 lines

  1. Help file for Oxo3d version 1.11
  2. ================================
  3.  
  4. Oxo3d is Copyright (C) Nick Craig-Wood 1995
  5.  
  6. Oxo3d is a 3 dimensional noughts-and-crosses player for the Psion 3a range of
  7. computers.
  8.  
  9. It is supplied as two files
  10.  
  11.   OXO3D.TXT    - this file
  12.   OXO3D.OPA    - the executable
  13.  
  14.  
  15. License
  16. =======
  17.  
  18. Oxo3d (The Software) is Copyright (C) Nick Craig-Wood 1995 (NCW) and may not
  19. be used or copied except as in accord with the terms and conditions below.
  20.  
  21. You may NOT Make the Software available to any third party EXCEPT with these
  22. terms and conditions imposed on said party.
  23.  
  24. You may NOT Make the Software available to any third party EXCEPT at no
  25. benefit to yourself or any third party, excepting that benefit contained
  26. within the Software.
  27.  
  28. You MUST make sure the Software is distributed whole, intact and unmodified,
  29. including all the files in the original distribution.
  30.  
  31. You may NOT may not sell, hire or include the Software in a package which is
  32. sold or hired, modify, translate, disassemble, decompile, reverse engineer,
  33. or create derivative works based upon the Software or include whole or part
  34. of the Software into other works. 
  35.  
  36. The Software is supplied "as is", NCW makes no warranty, express or implied,
  37. as to the merchantability or its fitness for any particular purpose.  It may
  38. or may not perform in accordance with the documentation or your expectations.
  39.  
  40. In no circumstances will NCW be liable for any damage, loss of profits,
  41. goodwill or for any indirect or consequential loss arising out of the use of
  42. the Software, or inability to use the Software, even if NCW has been advised
  43. of the possibility of such loss.
  44.  
  45. These conditions supersede any prior agreement, oral or written, between you
  46. and NCW relating to the Software.
  47.  
  48. You agree that except for written separate agreements between NCW and you,
  49. this agreement is a complete and exclusive statement of the rights and
  50. liabilities of the parties.
  51.  
  52. You acknowledge that you have read this agreement, that you understand this
  53. agreement, and by loading, running or copying the Software you agree to be
  54. bound by this agreement's terms and conditions.
  55.  
  56.  
  57. Introduction
  58. ============
  59.  
  60. Oxo3d is a program to play 3 dimensional noughts-and-crosses (or
  61. tic-tac-toe).  This is a game with considerably more strategy than the more
  62. common 3x3 version.
  63.  
  64. The very first version of this game was written 10 years ago now on a
  65. Sinclair ZX81 in BASIC.  It used to take 60 seconds to think of a move, and
  66. it used to beat the author nearly all of the time.  However computing has
  67. moved on, and the Psion 3a version plays at a much higher strength in only 4
  68. seconds or so.  The author has improved too!
  69.  
  70. Oxo3d is written in interpreted OPL.  In order to get it to run fast enough,
  71. a complicated heuristic has been developed for the computer player.  The
  72. player does only one move of look-ahead, but even so plays well enough to
  73. beat most people most of the time.
  74.  
  75. A 2 level look-ahead version was developed, but it took too long to play so
  76. development concentrated on the heuristic player.  In a faster language (C or
  77. assembler) a version with look-ahead would be feasable, and would certainly
  78. play even better.
  79.  
  80.  
  81. Installing Oxo3d
  82. ================
  83.  
  84. Copy the file OXO3D.OPA to any APP directory and install it using Psion-I as
  85. normal.  (See the user guide if you are in doubt.)
  86.  
  87. This should produce an icon in the system screen (or whichever group you
  88. installed it in).
  89.  
  90.  
  91. Using Oxo3d
  92. ===========
  93.  
  94. Move the highlight in the system screen to under the Oxo3d icon and press
  95. return.  The computer will be busy for a short while and then will produce a
  96. dialogue box as below.
  97.  
  98.     +-------------------+
  99.     |     New Game      |
  100.     +-------------------+
  101.     | * Level     Hard  |   - select level Hard, Medium or Easy
  102.     | * Sound     On    |   - beep on or off
  103.     | * Go first  Yes   |   - you first or psion first
  104.     |                   |
  105.     |  Cancel     Play  |   - Esc to cancel
  106.     |  Esc        Enter |   - Enter to play
  107.     +-------------------+
  108.  
  109. This dialogue box can be shown at any time with Psion-N, or selected off the
  110. menu as New Game.
  111.  
  112. Select your options and press Enter to start the game.  The screen will clear
  113. and a representation of the board as below will appear (see the section on
  114. playing the game for interpretation of the board).
  115.  
  116.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  117.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  118.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  119.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  120.  
  121. If you selected No to Go first then the psion will think for a short while
  122. before placing its X.
  123.  
  124. You now place your O by moving the cursor around the board with the arrow
  125. keys and pressing enter.  When you do this a O will appear on the board and
  126. the psion will think of a reply to your move, moving the cursor to the
  127. position in which it went.
  128.  
  129. When one player or the other wins, the winning line will be highlighted and
  130. the game will pause.  To start a new game select the New Game off the menu or
  131. press Psion-N.
  132.  
  133. To exit the game select Exit from the menu or press Psion-X.
  134.  
  135.  
  136. Menus and other options
  137. =======================
  138.  
  139. Oxo3d has a standard menu available when the menu keu is pressed.  It has two
  140. headings
  141.  
  142.     +-------------------+
  143.     |     Oxo 3d        |
  144.     +-------------------+
  145.     | About          =A |   - shows the version number of Oxo3d
  146.     | Help           =H |   - shows help for Oxo3d (as does the help button)
  147.     | Options        =O |   - shows the options dialog
  148.     | New Game       =N |   - starts a new game
  149.     | Previous Go    =P    |   - shows the last move made
  150.     | Exit           =X    |   - exits Oxo3d
  151.     +-------------------+
  152.  
  153. and
  154.  
  155.     +-------------------+
  156.     |     Cheat         |
  157.     +-------------------+
  158.     | Undo           =U |   - undoes the last move
  159.     | Redo           =R |   - redoes the last move
  160.     | Place X   Shift=X |   - puts an X on the board at the cursor position
  161.     | Place O   Shift=O |   - puts an O on the board at the cursor position
  162.     | Erase     Shift=E |   - puts a blank on the board at the cursor position
  163.     +-------------------+
  164.  
  165.  
  166. Options
  167. =======
  168.  
  169. When the game is running it is possible to change the options by selecting
  170. Options off the menu or Psion-O.  This will produce a dialog box
  171.  
  172.     +-------------------+
  173.     |  Oxo 3d Options   |
  174.     +-------------------+
  175.     | * Level    -Hard- |   - select level Hard, Medium or Easy
  176.     | * Sound     On    |   - beep on or off
  177.     +-------------------+
  178.  
  179.  
  180. Previous Go
  181. ===========
  182.  
  183. Previous Go from the menu or Psion-P will show where the last move was.  If
  184. your press it again then it will show the move before than.
  185.  
  186.  
  187. Cheating
  188. ========
  189.  
  190. Oxo3d has a comprehensive cheat system.  However using any of these features
  191. will brand you a cheat very visibly on the screen!
  192.  
  193.  
  194. Other Keys
  195. ==========
  196.  
  197. Pressing the diamon button will rotate the cube (see the how to play section
  198. for an explanation).  There are 3 possible rotations and these are shown in
  199. the diamond section in the top right of the screen.
  200.  
  201. Pressing Help will bring up some help for Oxo3d.
  202.  
  203. Pressing Ctrl-Menu will change the size of the status window at the right
  204. hand side of the screen.  This increased the size of the playing area
  205. slightly.
  206.  
  207.  
  208. How to play 3D Noughts-and-Crosses
  209. ==================================
  210.  
  211. You are O and it is your object to get 4 in a row to win the game.  The Psion
  212. takes X and it will be trying to do likewise.
  213.  
  214. The board is a 4x4x4 area arranged into a cube.  Oxo3d represents that as a
  215. board like this.
  216.  
  217.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  218.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  219.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  220.     [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]   [ ][ ][ ][ ]
  221.     
  222.        Layer 1        Layer 2        Layer 3        Layer 4
  223.  
  224. Each groups of 4x4 positions represents one plane on the cube.  To play the
  225.