home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spiele Shareware / os2games.iso / os2games / think / fourpm / fourpm.doc < prev    next >
Encoding:
Text File  |  1994-08-25  |  4.7 KB  |  104 lines

  1. Connect-Four for Presentation-Manager 
  2. Version 1.24, 1993/8/19
  3. (c) 1993 by Andreas Bergen 
  4.  
  5. Object of the game
  6. ------------------
  7.   The object of the game is (for each player) to place four pieces of his
  8. color in a horizontal, vertical or diagonal row. The first one to reach this 
  9. goal wins the game. If no one does so, but each position on the board has been
  10. filled, the game is a draw.
  11. The computer's color is red, your color is blue.
  12.  
  13. Legal moves
  14. -----------
  15.   You can only put a stone on top of another stone or in the bottom row of the
  16. board. Legal moves are indicated by a cross shaped mouse-pointer.
  17.  
  18. About the programming of the game
  19. ---------------------------------
  20.   Connect-Four for PM is my first attempt in writing an application in C++ and
  21. for PM. The "think-procedure" runs in its own thread to avoid the wait-pointer
  22. from being shown outside the application and therefore preventing the user from
  23. for example resizing the window or quitting the game while computing the next
  24. move.
  25.   I hope that there are not so many remaining bugs and that you enjoy playing
  26. the game.   
  27.  
  28. Installation
  29. ------------
  30. Connect-Four for PM is comprised of the following:
  31.  
  32. FourPM.EXE                  the executable
  33. EMX.DLL and EMXLIBC.DLL     Dynamic link-libraries (c) by Eberhard Mattes. 
  34.                             They are needed, because FourPM.EXE has been
  35.                             compiled using GNU-CC and EMX.
  36. FourPM.DOC                  you are reading it.
  37.  
  38.   To install the game, simply verify, that the DLL's are in a directory that is
  39. in your LIBPATH. The current directory is ok, if a simple '.' is one of the
  40. entries in your LIBPATH.
  41.  
  42. License
  43. -------
  44.   Connect-Four for PM is copyrighted material. Permission is hereby granted to
  45. distribute and copy Connect-Four for PM, provided that:
  46. All four files (FourPM.EXE, EMX.DLL, EMXLIBC.DLL, FourPM.DOC) are distributed
  47. unmodified and as a group, and that no charge be made for copying and/or
  48. distribution, except a minimal fee covering media or handling expenses.
  49.   In version 1.00 I stated that only if you wanted you could send me some cash
  50. or an E-Mail. I think that was a little bit naive. I didn't get any money and 
  51. only two people sent me an E-Mail: One wanted to know how the program works and
  52. what algorithms I used.
  53.   The other one (yes, I mean you, Michael K.) pointed my attention to two
  54. grammar and expression errors in this document and the game. (Thanx for that,
  55. but you know that already.)
  56.   But now this is for all others out there in the net-/shareware-world:
  57. If you use this program for more than 30 days you have now two possibilities:
  58. Either you send me a mail (E-Mail or letter) wherein you tell me your opinion
  59. about this program, its documentation, the weather, the MHz's of your computer's
  60. cpu or anything else you think I might find it interesting enough to strike out
  61. your name from the list of people I ever have got to be angry about because 
  62. they are part of those that don't pay for things they use. (Wow, long sentence,
  63. isn't it?)
  64.   But as I said at the beginning of the previous sentence there is another
  65. possibility to pay for this program: You can pay for it. For only 30 DM that is
  66. about $18 you can get registered and will receive a free copy of the next
  67. release (if you want to and have no free access to any shareware sources
  68. (Internet etc.) where it will be available, too).
  69.   Additionally you can also get the complete source code of the program
  70. for $150.
  71.   If you think that's your way to honour my work you should know that german
  72. banks take a high fee of $8-$10 for discharging foreign cheques, so sending me
  73. cash is much cheaper.
  74.  
  75. History
  76. -------
  77.   The history of the program is quite short until now. Once I have been asked by
  78. a friend of mine how one could program some kind of strategy for a game like
  79. for example connect-four. I said to him that I thought it wouldn't be that
  80. difficult but the longer I thought about it the more problems I discovered.
  81.   But after reading an article about game-strategies and alpha-/beta-cutting
  82. of game-trees and after understanding the special connect-four-problems
  83. it was quite simple to create the first version of this program.
  84. The second available release now (V1.24) is a bit faster and plays more
  85. randomly.
  86.  
  87. Future Enhancements
  88. -------------------
  89.   I have some ideas to increase the program's strength and speed. Further ideas
  90. are to include some kind of problem-mode and the possibility to take back moves. 
  91.  
  92. And now here is my address
  93. --------------------------
  94. Andreas Bergen
  95. Danziger Straße 35
  96. 71737 Kirchberg an der Murr
  97. Germany
  98.  
  99. or
  100.  
  101. E-Mail:bergen@minnie.informatik.uni-stuttgart.de
  102. (subject to change)
  103.  
  104.