home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / XFREE86 / GNUCHESS / gnuchess.txt < prev    next >
Text File  |  1996-05-14  |  14KB  |  397 lines

  1.  
  2.  
  3.  
  4. gnuchess(6)                                                       gnuchess(6)
  5.  
  6.  
  7.  
  8. NAME
  9.   gnuchess - Chess
  10.  
  11. SYNOPSIS
  12.   ggnnuucchheessss [ [[[[--||++]]aa]] [[--AA aaggiinngg--rraattee]] [[--bb bbooookkffiillee]] [[--BB bbiinnbbooookkffiillee]] [[--CC
  13.   ccaacchhee--ttaabbllee--ssiizzee]] [[--cc]] [[[[--||++]]DD ]] [[[[--||++]]EE ]] [[[[--||++]]ee ]] [[[[--||++]]FF ]] [[--HH hhaasshh--
  14.   ddeepptthh]] [[[[--||++]]hh ]] [[--LL llaanngguuaaggee]] [[--ll lliissttffiillee]] [[[[--||++]]NN]] [[[[--||++]]pp ]] [[--PP ppllyyss]]
  15.   [[--rr lleennggtthh]] [[--ss ssaavveeffiillee]] [[--SS bbiinnbbooookkssiizzee]] [[--tt]] [[--cc hhaasshhffiillee--ssiizzee]] [[--TT
  16.   ttrraannssiittiioonn--ttaabbllee--ssiizzee]] [[[[--||++]]VV]] [[--vv]] [[--xx]] [[--zz sseeaarrcchh--ffuuzzzz]] aarrgg11 aarrgg22 ]
  17.  
  18. DESCRIPTION
  19.   _G_n_u_c_h_e_s_s plays a game of chess against the user or it plays against itself.
  20.  
  21.   _G_n_u_c_h_e_s_s is an updated version of the GNU chess playing program.  It has a
  22.   simple alpha-numeric board display, an IBM PC compatible interface, or it
  23.   can be compiled for use with the cchheessssttooooll program on a SUN workstation or
  24.   with the xxbbooaarrdd program under X-windows.  To invoke the program type:
  25.  
  26.   ggnnuucchheessss
  27.        - simple curses based version
  28.  
  29.   ggnnuucchheessssnn
  30.        - fancy version using curses and inverse video on UNIX, or IBM PC cur-
  31.        sor controls and characters on MSDOS
  32.  
  33.   ggnnuucchheessssrr
  34.        - ASCII based version
  35.  
  36.   ggnnuucchheesssscc
  37.        - chesstool compatible version
  38.  
  39.   ggnnuucchheessssxx
  40.        - xboard compatible version
  41.  
  42. TIME CONTROLS
  43.  
  44.   If one argument is given, it is the search time per move in
  45.   [minutes:]seconds.  So ggnnuucchheessss 3300 will generate one move every 30 seconds,
  46.   while ggnnuucchheessss 55::0000 will generate one move every 5 minutes.
  47.  
  48.   If two or more arguments are given, they will be used to set tournament
  49.   time controls with the first argument of each pair being the number of
  50.   moves and the second being the total clock time in minutes[:seconds].
  51.   Thus, entering ggnnuucchheessss 6600 55 will set the clocks for 5 minutes (300
  52.   seconds) for the first 60 moves, and ggnnuucchheessss 3300 33::3300 will allow 3 minutes
  53.   and 30 seconds for 30 moves.
  54.  
  55.   ggnnuucchheessss 3300 55 11 ::3300 will allow 5 minutes for the first 30 moves and 30
  56.   seconds for each move after that.  Up to 4 pairs of controls may be speci-
  57.   fied.
  58.  
  59.   If no argument is given the program will prompt the user for level of play.
  60.  
  61.   For use with cchheessssttooooll or xxbbooaarrdd,, see the documentation on those programs.
  62.  
  63. BOOK
  64.  
  65.   At startup _G_n_u_c_h_e_s_s reads the _b_i_n_b_o_o_k file if it is present. It then looks
  66.   for a _b_o_o_k file. If it is present it adds its contents to the _b_i_n_b_o_o_k data.
  67.   If the _b_i_n_b_o_o_k file is writable a new combined _b_i_n_b_o_o_k file is written.
  68.  
  69.   The book _g_n_u_c_h_e_s_s._b_o_o_k consists of a sequence of openings.  An opening
  70.   begins with a line starting with a !! , the rest of the line is comments.
  71.   Following this is a series of moves in algebraic notation alternating white
  72.   and black separated by white space. A move may have a ?? after it indicating
  73.   this move should never be made in this position.  Moves are stored as
  74.   position:move so transpositions between openings can take place.
  75.  
  76. HASHFILE
  77.  
  78.   The hashfile if created should be on the order of 4 megabytes or ggnnuucchheessss
  79.   --cc 2222.. This file contains positions and moves learned from previous games.
  80.   If a hashfile is used the computer makes use of the experience it gained in
  81.   past games. Tests run so far show that it plays no worse with the hashfile
  82.   than without, but it is not clear yet whether it provides a real advantage.
  83.  
  84. LEGAL MOVES
  85.  
  86.   NNoottee:: Piece letters and legal castling notation is determined by the
  87.   language file.  What is specified here is the default English.
  88.  
  89.   Once _g_n_u_c_h_e_s_s is invoked, the program will display the board and prompt the
  90.   user for a move. To enter a move, use the notation ee22ee44 where the first
  91.   letter-number pair indicates the origination square and the second letter-
  92.   number pair indicates the destination square.  An alternative is to use the
  93.   notation nnff33 where the first letter indicates the piece type (p,n,b,r,q,k).
  94.   To castle, type the origin and destination squares of the king just as you
  95.   would do for a regular move, or type oo--oo or 00--00 for kingside castling and
  96.   oo--oo--oo or 00--00--00 for queenside.  To promote a pawn append the type of the new
  97.   piece to the move, as in ee77ee88qq or cc77cc88rr..
  98.  
  99. FUNCTION LETTERS
  100.  
  101.   --LL llaanngg
  102.        Use language _l_a_n_g _f_r_o_m _t_h_e _f_i_l_e ggnnuucchheessss..llaanngg.. If -L is not specified
  103.        it defaults to the language used in the first line in the file. ggnnuu--
  104.        cchheessssrr --LL ggeerr will use the german language.
  105.  
  106.   --AA aaggiinngg--rraattee
  107.        Specify aging rate for hash table entries
  108.  
  109.   [[--]]aa Do [do not] search on opponents time.
  110.  
  111.   --bb bbooookkffiillee
  112.        Use bookfile for opening book.
  113.  
  114.   --BB bbiinnbbooookkffiillee
  115.        Use binbookfile for binary opening book.
  116.  
  117.   --CC ccaacchhee--ssiizzee
  118.        Specify evaluation cache table size (in entries).
  119.  
  120.   --DD   Toggle DEEPNULL at runtime.
  121.  
  122.   --EE   Toggle flag.threat.
  123.  
  124.   --ee   Toggle flag.neweval to force evaluations instead of estimates
  125.  
  126.   --FF   Toggle flag.noscore
  127.  
  128.   --HH hhaasshh--ddeepptthh
  129.        pecify depth in plys for hashing.
  130.  
  131.   --SS ssiizzee
  132.        Size of binbookfile for memory based and GDX books. For creating a
  133.        binbookfile.
  134.  
  135.   --PP ppllyylleevveellss
  136.        Number of plys to include in the binbookfile. For generating a bin-
  137.        bookfile.
  138.  
  139.   --pp   Toggle flag.pvs
  140.  
  141.   --cc ssiizzee
  142.        Create a new HASHFILE. File size is 2^size entries of approximately 65
  143.        bytes.
  144.  
  145.   [[--]]hh Do [do not] use hashfile.
  146.  
  147.   --ll ppaatthhnnaammee
  148.        Pathname of the loadfile use with the ggeett or xxggeett..
  149.  
  150.   --rr lleennggtthh
  151.        Rehash length times in searching  entries for position in transposi-
  152.        tion table.
  153.  
  154.   --ss ppaatthhnnaammee
  155.        Pathname of the save file to use with the ssaavvee command.
  156.  
  157.   --tt   Show statistics for HASHFILE
  158.  
  159.   --TT ssiizzee
  160.        Set the transposition table size to size entries. (minimum is MINTT-
  161.        ABLE)
  162.  
  163.   --vv   Show version and patchlevel.
  164.  
  165.   --xx vvaalluuee
  166.        Use vvaalluuee as the evaluation window xxwwnnddww..
  167.  
  168. COMMANDS
  169.  
  170.   In addition to legal moves, the following commands are available as
  171.   responses.  NNoottee:: command names are determined by the _l_a_n_g_u_a_g_e file and may
  172.   vary with the implementation. This is default English.
  173.  
  174.   aallgg -- allow algebraic input (not implemented)
  175.  
  176.   AAwwiinnddooww -- change Alpha window (default score + 90)
  177.  
  178.   BBwwiinnddooww -- change Beta window (default score - 90)
  179.  
  180.   bbeeeepp -- causes the program to beep after each move.
  181.  
  182.   bbdd -- updates the current board position on the display.
  183.  
  184.   bbkk -- Print out all moves for this position from the book as: move response
  185.   value
  186.  
  187.   bbooookk -- turns off use of the opening library.
  188.  
  189.   bbootthh -- causes the computer to play both sides of a chess game.
  190.  
  191.   bbllaacckk -- causes the computer to take the black pieces.  If the computer is
  192.   to move first the ggoo command must be given.
  193.  
  194.   eeccoo -- Print out opening information for this game - lists ECO # and varia-
  195.   tions
  196.  
  197.   ccoooorrddss -- show coordinates on the display (visual only)
  198.  
  199.   ccoonntteemmpptt -- allows the value of _c_o_n_t_e_m_p_t to be modified.
  200.  
  201.   ddeebbuugg --  asks for a piece as color piece, as wb or bn, and shows its cal-
  202.   culated value on each square.
  203.  
  204.   ddeebbuugglleevveell --  sets level of debugging output if compiled with debug
  205.   options.
  206.  
  207.   ddeepptthh -- allows the user to change the search depth of the program.  The
  208.   maximum depth is 29 ply.  Normally the depth is set to 29 and the computer
  209.   terminates its search based on elapsed time rather than depth.  If depth is
  210.   set to (say) 4 ply, the program will search until all moves have been exam-
  211.   ined to a depth of 4 ply (with extensions up to 11 additional ply for
  212.   sequences of checks and captures). If you set a maximum time per move and
  213.   also use the depth command, the search will stop at the specified time or
  214.   the specified depth, whichever comes first.
  215.  
  216.   eeaassyy -- toggles easy mode (thinking on opponents time) on and off. The
  217.   default is easy mode ON.  If easy mode is disabled, the keyboard is polled
  218.   for input every so often and when input is seen the search is terminated.
  219.   It may also be terminated with a _s_i_g_i_n_t.
  220.  
  221.   eeddiitt -- allows the user to set up a board position.
  222.  
  223.           ## - command will clear the board.
  224.  
  225.           cc - toggle piece color.
  226.  
  227.           .. - command will exit setup mode.
  228.  
  229.         ppbb33 - place a pawn on b3
  230.  
  231.   Pieces are entered by typing a letter (p,n,b,r,q,k) for the piece followed
  232.   by the coordinate.
  233.  
  234.   The usual warning about the _l_a_n_g_u_a_g_e _f_i_l_e applies.
  235.  
  236.   eexxiitt -- exits gnuchess.
  237.  
  238.   ffiirrsstt -- tells the computer to move first. Computer begins searching for a
  239.   move.  (same as "go").
  240.  
  241.   ffoorrccee -- allows the user to enter moves for both sides. To get the program
  242.   to play after a sequence of moves has been entered use the 'white' or
  243.   'black' command followed by 'go'.
  244.  
  245.   ggaammeeiinn -- toggles game mode time control. Assumes the time specified for
  246.   time control is the time for a complete game. Input with the level command
  247.   should be the game time and the expected number of moves in a game.
  248.  
  249.   ggeett -- retrieves a game from disk.  The program will prompt the user for a
  250.   file name.
  251.  
  252.   ggoo -- tells the computer to move first. Computer begins searching for a
  253.   move.  (same as "first").
  254.  
  255.   hhaasshh -- use/don't use hashfile.
  256.  
  257.   hhaarrdd -- think on opponents time
  258.  
  259.   hhaasshhddeepptthh -- allows the user to change the minimum depth for using the
  260.   hashfile and the number of moves from the begining of the game to use it.
  261.  
  262.   hheellpp -- displays a short description of the commands and the current status
  263.   of options.
  264.  
  265.   hhiinntt -- causes the program to supply the user with its predicted move.
  266.  
  267.   lleevveell -- allows the user to set time controls such as 60 moves in 5 minutes
  268.   etc.  In tournament mode, the program will vary the time it takes for each
  269.   move depending on the situation.  If easy mode is disabled (using the
  270.   'easy' command), the program will often respond with its move immediately,
  271.   saving time on its clock for use later on.
  272.  
  273.   lliisstt -- writes the game moves and some statistics on search depth, nodes,
  274.   and time to the file 'chess.lst'.
  275.  
  276.   mmaatteerriiaall -- toggle material flag - draws on no pawns and both sides < rook
  277.  
  278.   MMwwppaawwnn,, MMbbppaawwnn,, MMwwkknniigghhtt,, MMbbkknniigghhtt,, MMwwbbiisshhoopp,, MMbbbbiisshhoopp -- print out static
  279.   position evaluation table
  280.  
  281.   nneeww -- starts a new game.
  282.  
  283.   pp -- evaluates the board and shows the point score for each piece. The
  284.   total score for a position is the sum of these individual piece scores.
  285.  
  286.   ppoosstt -- causes the program to display the principle variation and the score
  287.   during the search.  A score of 100 is equivalent to a 1 pawn advantage for
  288.   the computer.
  289.  
  290.   uunnppoosstt -- turn off the post display.
  291.  
  292.   qquuiitt -- exits the game.
  293.  
  294.   rraannddoomm -- causes the program to randomize its move selection slightly.
  295.  
  296.   rrccppttrr -- set recapture mode.
  297.  
  298.   rreemmoovvee -- backout the last level for both sides. Equal to 2 _u_n_d_o'_s.
  299.  
  300.   rreevveerrssee -- causes the board display to be reversed.  That is, the white
  301.   pieces will now appear at the top of the board.
  302.  
  303.   rrvv -- reverse board display.
  304.  
  305.   sseettuupp -- Compatibility with Unix chess and the nchesstool. Set up a board
  306.   position.  Eight lines of eight characters are used to setup the board.
  307.   a8-h8 is the first line. Black pieces are  represented  by  uppercase char-
  308.   acters.
  309.  
  310.   ssttaarrss -- (gnuchessn only) add stars (*) to black pieces.
  311.  
  312.   ssaavvee -- saves a game to disk.  The program will prompt the user for a file
  313.   name.
  314.  
  315.   sswwiittcchh -- causes the program to switch places with the opponent and begin
  316.   searching.
  317.  
  318.   tteesstt -- performs some speed tests for MoveList and CaptureList generation,
  319.   and ScorePosition position scoring for the current board.
  320.  
  321.   ttiimmee oottiimm -- ttiimmee set computers time remaining, intended for synchronizing
  322.   clocks among multiple players.  -- oottiimm set opponents time remaining,
  323.   intended for synchronizing clocks among multiple players.
  324.  
  325.   uunnddoo -- undoes the last move whether it was the computer's or the human's.
  326.   You may also type "remove". This is equivalent to two "undo's" (e.g.
  327.   retract one move for each side).
  328.  
  329.   wwhhiittee -- causes the computer to take the white pieces.  If the computer is
  330.   to move first the ggoo command must be given.
  331.  
  332.   xxggeett -- read an _x_b_o_a_r_d position file.
  333.  
  334.   xxwwnnddww -- change X window. The window around alpha/beta used to determine
  335.   whether the position should be scored or just estimated.
  336.  
  337. BUGS
  338.  
  339. SEE ALSO
  340.   chesstool(6)
  341.   xboard(6)
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.