📄 man-page
字号:
.TH Chess GNU.SH NAMEChess \- GNU Chess.SH SYNOPSIS.B Chess[.B arg1 arg2].SH DESCRIPTION.I Chessplays a game of chess against the user or it plays against itself..PP.I Chesshas a simple alpha-numeric board display or it can be compiled foruse with the CHESSTOOL program on a SUN workstation.The program gets its opening moves from the file gnuchess.book whichshould be located in the same directory as gnuchess.To invoke the prgram, type 'gnuchess' or type 'chesstool gnuchess'on a SUN workstation where 'CHESSTOOL' is installed.The 'gnuchess' command can be followed by up to 2 command line arguments.If one argument is given it determines the programs search time inseconds. If two arguments are given, they will be used to set tournamenttime controls with the first argument being the number of moves and the secondbeing the total clock time in minutes. Thus, entering 'chess 60 5' will setthe clocks for 5 minutes (300 seconds) for the first 60 moves.If no argument is given the program will prompt the user for level ofplay.For use with CHESSTOOL, see the documentation on that program..PPOnce.I Chessis invoked, the program will display the board and prompt the userfor a move. To enter a move, use the notation 'e2e4' where the firstletter-number pair indicates the origination squareand the second letter-number pair indicates the destination square.An alternative is to use the notation 'nf3' wherethe first letter indicates the piece type (p,n,b,r,q,k).To castle, type the origin and destination squaresof the king just as you would do for a regular move, or type"o-o" for kingside castling and "o-o-o" for queenside..SH COMMANDS.PPIn addition to legal moves, the following commands are available as responses..PP.I beep-- causes the program to beep after each move..PP.I bd-- updates the current board position on the display..PP.I book-- turns off use of the opening library..PP.I both-- causes the computer to play both sides of a chess game..PP.I black-- causes the computer to take the black pieces with the moveand begin searching..PP.I level-- allows the user to set time controls such as60 moves in 5 minutes etc. In tournament mode, the program willvary the time it takes for eachmove depending on the situation. If easy mode is disabled (usingthe 'easy' command), the programwill often respond with its move immediately, saving time onits clock for use later on..PP.I depth-- allows the user to change thesearch depth of the program. The maximum depth is 29 ply.Normally the depth is set to 29 and the computer terminatesits search based on elapsed time rather than depth.Using the depth command allows setting depth to say4 ply and setting response time to a large number such as9999 seconds. The program will then search until all moveshave been examined to a depth of 4 ply (with extensions upto 11 additional ply for sequences of checks and captures). .PP.I easy-- toggles easy mode (thinking on opponents time)on and off. The default is easy mode ON. If easy mode is disabled,the user must enter a 'break' or '^C' to get the programsattention before entering each move..PP.I edit-- allows the user to set up a board position.In this mode, the '#' command will clear the board, the 'c'command will toggle piece color, and the '.' command will exitsetup mode. Pieces are entered by typing a letter (p,n,b,r,q,k) forthe piece followed by the coordinate. For example "pb3" wouldplace a pawn on square b3..PP.I force-- allows the user to enter moves for bothsides. To get the program to play after a sequence of moveshas been entered use the 'white' or 'black' commands..PP.I get-- retrieves a game from disk. The program willprompt the user for a file name..PP.I help-- displays a short description of the commands..PP.I hint-- causes the program to supply the user withits predicted move..PP.I list-- writes the game moves and some statisticson search depth, nodes, and time to the file 'chess.lst'..PP.I new-- starts a new game..PP.I post-- causes the program to display the principlevariation and the score during the search. A score of100 is equivalent to a 1 pawn advantage for the computer..PP.I random-- causes the program to randomize its moveselection slightly..PP.I reverse-- causes the board display to be reversed. Thatis, the white pieces will now appear at the top of the board..PP.I quit-- exits the game..PP.I save-- saves a game to disk. The program will promptthe user for a file name..PP.I switch-- causes the program to switch places withthe opponent and begin searching..PP.I undo-- undoes the last move whether it was the computer'sor the human's. You may also type "remove". This is equivalentto two "undo's" (e.g. retract one move for each side)..PP.I white-- causes the computer to take the white pieceswith the move and begin searching..SH BUGS.PPPawn promotion to pieces other than a queen is not allowed.En-Passant does not work properly with CHESSTOOOL.The transposition table may not work properly in somepositions so the default is to turn this off. .fi.SH SEE ALSO.nfchesstool(6).fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -