MAN-PAGE 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. .TH Chess GNU
  2. .SH NAME
  3. Chess \- The Technology Chess Program for GNU Unix
  4. .SH SYNOPSIS
  5. .B Chess
  6. [
  7. .BI \-n
  8. ]
  9. .SH DESCRIPTION
  10. .I Chess
  11. plays a game of chess against the user. Or it plays against
  12. itself. Or it referees a game.
  13. .PP
  14. .I Chess
  15. has two display modes. The first mode is simply a normal
  16. mode that you could use with a terminal. The second mode
  17. is a fancy display mode you can use with a SUN workstation.
  18. To use the former, simply type 'gnuchess'. To use the
  19. latter, simply type 'chesstool gnuchess' on a SUN
  20. workstation where 'chesstool' is installed. In the
  21. latter example, the argument should be the path
  22. specifying where to find the gnuchess binary.
  23. .PP
  24. The following documentation assumes you are in
  25. the first mode (e.g. normal mode using a regular
  26. terminal). If not, then you should read the chesstool documentation.
  27. .PP
  28. For help once in
  29. .I Chess
  30. type a question-mark. To type in your move, use the
  31. notation "e2e4" where the first letter-number pair
  32. indicates the origination square and the second
  33. letter-number pair indicates the destination square.
  34. The letter indicates the column with the left-most
  35. column being "a" and the right-most column being "h".
  36. The number indicates the row, the first row (White's
  37. first rank) being "1" and the last row (Black's
  38. first rank) being "8". To castle, type the origin
  39. square of the king and the destination square of the
  40. king, just as you would do for a regular move.
  41. .PP
  42. The "bd" command prints what the current board position
  43. looks like. You may type this to see what the board
  44. looks like after the computer moves.
  45. .PP
  46. The "book" command compiles the opening book into
  47. dbm(3) format. This book is then consulted
  48. whenever the computer makes a move. If the current
  49. position is in the book, then the suggested move
  50. associated with that position will be made as
  51. the computer's move. Note that this command is a
  52. maintenance command, usually used only once per
  53. site per book.
  54. .PP
  55. The "depth" command allows the user to change how many
  56. moves ahead the computer looks. Normally, it looks ahead
  57. three half-moves, examining every move for each side.
  58. Then, it examines all captures for both sides for another
  59. two half-moves. "Depth" changes the first of these values.
  60. There is an upper boundary of five half-moves as set by
  61. the quiescence search which searches captures a little
  62. deeper to get better tactical play.
  63. .PP
  64. The "enter" command causes the current game played thus
  65. far to be entered in the human-readable version of the
  66. opening book. If no current game is in progress, this
  67. command requests the name of a file from which to read
  68. games. These are then added to the binary database.
  69. Since the versions of the two files are slightly different,
  70. in the former case, you must additionally type "book"
  71. to get the new game fully entered in the book.
  72. Also, the "enter" command tries to mail your new additions
  73. to the book maintainers
  74. so that your contributions can be added to the master copy
  75. of the book. If you are not on our network, you should send
  76. us your new additions via some other method.
  77. .PP
  78. "Fill" allows the user to specify a completely different
  79. board position. Input is based on Forsythe notation.
  80. For example, the opening position in Forsythe notation
  81. is "rnbqkbnrpppppppp8888PPPPPPPPRNBQKBNR+". Capital
  82. letters indicate a White piece, lower-case Black. A plus means
  83. it is White's move, a minus means Black's.
  84. .PP
  85. "History" and "historyf" list the game as played so far
  86. to the terminal and a file respectively. The file is
  87. assumed to be "GAMES/chXXXXXX" where XXXXXX is a random
  88. number and GAMES is a subdirectory. If GAMES does not
  89. exist, an error message is reported. The equivalent of
  90. "historyf" is done after every move automatically to
  91. record the game thus far.
  92. .PP
  93. "Legals" shows legal moves for the current position along with
  94. the rating for each move based on a positional presort.
  95. .PP
  96. "Neither" instructs the program to play neither side, that is,
  97. to simply act as a referee.
  98. .PP
  99. "Parallel" enables or disables parallelism, assuming it has
  100. been available when your version of the program was configured.
  101. In its enabling mode, this command lists the names of the
  102. processors which will be used along with their machine architecture.
  103. .PP
  104. "Reset" resets the board to the starting position.
  105. .PP
  106. "Quit" exits the game.
  107. .PP
  108. "Read" restores a game as if you were still playing it.
  109. The game must be in the format as written by "historyf" or
  110. as automatically recorded by the program itself after every
  111. move.
  112. .PP
  113. "Self" causes the program to play against itself.
  114. .PP
  115. "Static" causes a static evaluation to be done for the
  116. current position. A static evaluation is based on material
  117. difference only. Positional considerations are handled
  118. by the ply-1 positional presort.
  119. .PP
  120. "Switch" causes the program to move, whether or not it
  121. is the program's turn to do so. Continually typing
  122. "switch" is equivalent to typing "self".
  123. .PP
  124. "Test-moves" initiates a test of the speed of the move
  125. generator. An initial series of move generations is done for the
  126. opening position and the timing speed is reported.
  127. Then, for each of ten stored test positions, a series of
  128. move generations is done and the timing speed is reported
  129. for each one. Finally, the program averages across those
  130. ten runs and reports the overall average.
  131. .PP
  132. "Test-search" uses the ten stored test positions to
  133. actually conduct a search at the current depth to
  134. choose a move for each position.
  135. .PP
  136. "Undo" undoes the last move whether it was the computer's
  137. or the human's. You may also type "remove". This is equivalent
  138. to two "undo's" (e.g. retract one move for each side).
  139. .PP
  140. The flag-option on the command line allows specification
  141. of how deep to search in half-moves as with 'Chess -3'
  142. to search three half-moves ahead. Capture searches are
  143. normally carried out a few half-moves further than the
  144. regular full search specified with this option. This
  145. is known as the quiescence search and it usually is
  146. conducted to 6 ply. This option is identical to the "depth"
  147. command once in the program.
  148. .SH BUGS
  149. .PP
  150. En passant is not currently implemented. Also, promotion
  151. to pieces other than queens is disallowed. Checks and
  152. checkmates are not detected in the tree-search and
  153. are not handled as "forcing" variations.
  154. .PP
  155. There are other bugs. Suggestions for improvements
  156. and caveats are contained in the files README and TODO
  157. which come with this distribution.
  158. .SH AUTHOR
  159. .nf
  160. Stuart Cracraft Stuart Cracraft
  161. P.O. Box 13123 UCLA, Dept. of Mathematics
  162. Torrance, Ca. Los Angeles, Ca.
  163. 90503 90024
  164. (213) 214-1136 (213) 825-9040
  165. .fi
  166. .SH AUTHOR'S COMMENT
  167. .PP
  168. This software is being made available by the Free Software
  169. Foundation under the restrictions described in its license
  170. agreement which accompanies this distribution. This software,
  171. its sources, binaries, documentation and all associated parts
  172. are copyright (C) 1986 by the Free Software Foundation, Inc.
  173. .SH SEE ALSO
  174. .nf
  175. chesstool(6)
  176. dbm(3)
  177. .fi