home *** CD-ROM | disk | FTP | other *** search
/ 500 Game Surplus / XSurplus.iso / 671 / README.TXT < prev    next >
Text File  |  1995-11-13  |  7KB  |  181 lines

  1. Abalone V1.1 - a game of strategy and skill
  2. -------------------------------------------
  3. written in 1995 by Lenz Grimmer
  4.  
  5. New in this version:
  6. --------------------
  7. - save and load game situations
  8. - better screen update performance
  9. - undo last move
  10.  
  11. System Requirements
  12. -------------------
  13. - 486DX or better
  14. - 8Megs of RAM
  15. - WIN 3.1x or WIN95 / WIN NT
  16.  
  17. I know this is pretty heavy for such a simple game, but this is what the
  18. CVI-runtime-engine expects :-(
  19.  
  20.  
  21. How to install:
  22. ---------------
  23. Run Windows and start the setup program. The installation routine asks for
  24. the installation path and creates a new group "Abalone" in the program
  25. manager. Klick on this icon to run the game ;-)
  26.  
  27. Note: It seems that sometimes the installation routine fails to create the
  28. correct entry in you WIN.INI - File. If you can't start ABALONE because
  29. the path to the Runtime Engine is missing, you have to add the following
  30. to your WIN.INI:
  31.  
  32. [cvirt31]
  33. cvirt31=<path_to_where_you_installed_the_runtime-libray>\cvirt31.exe
  34.  
  35. About the game:
  36. ---------------
  37. This is my first attempt to write a game in C.
  38. It is written under LabWindows/CVI from National Instruments, a development
  39. system that is mainly used to create software for measurement purposes.
  40. But as you can see, it could also be misused for games :-)
  41. Sorry for the big runtime-engine, i'll try to port the program to another
  42. C-Language in one of the following versions.
  43. This version does not offer a computer opponent (yet) and it does not check
  44. if one player makes more than one move.
  45. But it could be used with two players, just like a real abalone board.
  46. I use it very often to analyze moves and strategies.
  47. You can change the colors of the marbles. Just click the small color-box
  48. and a palette appears.
  49. Now you can also save and load game positions, it even memorizes the selected
  50. color and score of that game !
  51. It is also possible to edit these saved files with an ASCII-Texteditor
  52. to create usual impossible game situations (eg. 50 white marbles),
  53. the format is pretty simple. I'll explain the data format later in this text.
  54. I've also included three example abalone positions. Note that it is impossible
  55. for player one to make a move !
  56. (Taken from Mark C. Torrance et al, "An Abalone Position for which the game
  57. is undefined", February 3, 1992, Dep. of Computer Science at the MIT)
  58.  
  59. Legalese:
  60. ---------
  61. I distribute this game as cardware. So if you like it, send me an
  62. impressive postcard of your country, i'll appreciate it !
  63. (See adress at the end of this file)
  64. But if you want to support a poor student, money will also be accepted ;-)
  65. For any suggestions or comments, see "About the author" !
  66.  
  67. Abalone rules:
  68. --------------
  69. Ablone is simple to play. You can push one to three marbles along the board
  70. in six directions:
  71.  
  72.                           left up       right up
  73.                                   \   /
  74.                              left - Û - right
  75.                                   /   \
  76.                         left down       right down
  77.  
  78. You can do this by clicking on the marble you want to move and then on the
  79. next field you want to move it to.
  80. If you want to move two or three balls at once, click on the last ball in
  81. this row and "push" the other two in your desired direction.
  82. If you have marked a ball already but want to select another one without
  83. moving, click the right mousebutton inside the playfield to unmark the ball.
  84. The target of the game is to push six opponent's balls off the board.
  85. To push an opponent's ball, you have to have two or three balls (of your
  86. color) in a row. One-on-one does not work. To push two opponent-balls at once
  87. you must have three of your balls in a row. In other words, your row must
  88. be longer than your opponent's row (max. three).
  89.  
  90. Example:
  91.  
  92.         Û °             No go, 1:1
  93.         ->
  94.  
  95.         Û Û °           White pushes black
  96.         ->
  97.  
  98.         Û Û ° Û         Not possible, black is blocked by white ball
  99.         ->
  100.  
  101.         Û Û Û °         Yep, it works
  102.         ->
  103.  
  104.         Û Û Û ° °       Another possible move
  105.         ->
  106.  
  107. The game checks for (almost all) valid moves, just play around with it and
  108. you will see what I mean.
  109. It is also legal to move a row of two or three of your balls "sideways"
  110. (not in the direction the row is pointing to). In this version, you need
  111. to klick each ball individually and move it in the desired direction.
  112.  
  113. Planned Features for following versions
  114. ---------------------------------------
  115. - Computer opponent (any ideas/algorithms ?)
  116. - Port to LinuX / X-Window-System
  117. - Network Play
  118. - 100% valid move checking
  119. - On-line help with a better explanation of the game rules :-)
  120.  
  121. About the author
  122. ----------------
  123. I am 24 years old and study technical dataprocessing at the Berufsakademie
  124. in Mannheim, Germany. My hobbies are scuba-diving and playing around with
  125. the many possible configuration options of my LinuX-PC.
  126.  
  127. I'd like to receive suggestions and comments about this little program !
  128.  
  129. Until the end of 1996 you can reach me via e-mail:
  130.  
  131.         93ti016@ba-mannheim.de   OR  lenzg@rummelplatz.uni-mannheim.de
  132.  
  133.  
  134. or point your WWW-Client to this URL (my homepage at the Berufsakademie):
  135.  
  136.         http://www.ba-mannheim.de/~local/93ti016
  137.  
  138. or via snail-mail (The Postcard, remember ?):
  139.  
  140.         Lenz Grimmer
  141.         Lilienthalstr. 17
  142.         69214 Eppelheim
  143.         Germany
  144.  
  145. And now have fun playing ABALONE !
  146.  
  147. Data Format of saved games:
  148. ---------------------------
  149.  
  150. The first two numbers define the RGB-color-values of the player's marbles.
  151. The next two are the score of player one and player two.
  152. After that, there is a row of 61 numbers (0, 1, 2), each representing
  153. the status of one playfield of the board:
  154.  
  155.   0 - Field is free
  156.   1 - Field is occupied by player 1
  157.   2 - Field is occupied by player 2
  158.  
  159. I have enumerated the Abalone board in the following way:
  160. Field No.1 is to the top left, numbers increase from left to right and
  161. from top to bottom of the field:
  162.  
  163.           1   2   3   4   5
  164.  
  165.         6   7   8   9   10  11
  166.  
  167.      12  13  14  15  16 ...
  168.  
  169.                ...
  170.  
  171.                   ... 48  49  50
  172.  
  173.         51  52  53  54  55  56
  174.  
  175.           57  58  59  60  61
  176.  
  177. By this way it is even possible to create situations that are normally im-
  178. possible (More than 14 balls per player, more than 6 points).
  179. Please note that the program doesn't check for file integrity, so please
  180. be careful when modifying a saved game !
  181.