Xboard compatible chess engine hoixiangqi - xiangqi engine
hoichess [options]
hoixiangqi [options]
hoichess is a chess playing program. It implements major parts of the xboard/winboard chess engine protocol.
hoichess uses many of the standard techniques found in modern chess programs, like rotated bitboards, principal variation search, quiescence search, transposition table and iterative deepening.
See xboard\|(6) for instructions about how to use hoichess through xboard. To start up quickly, you just need the command: xboard -fcp hoichess.
hoixiangqi is a xiangqi (\*(L"Chinese chess\*(R") playing program. Currently, it also uses the xboard/winboard protocol. However, there is no user interface that supports this protocol. In the future, a different protocol might be used.
hoichess and hoixiangqi are built from the same code base, so nearly all commands and options, as well as the text based user interface, are the same for both programs.
If run hoichess or hoixiangqi at the command line, the help command gives you a brief summary of available commands. See section \*(L"\s-1COMMANDS\s0\*(R" for more details about those commands.
Display usage information.
Display version information.
Increase verbosity. Multiple -v options may be given. --verbose=n sets verbosity level n.
Increase debug level. Multiple -d options may be given. --debug=n sets debug level n.
Specify file name for logging. The log will be appended to this file. Note: Logging is not yet implemented in the current version of HoiChess, so the log will be empty.
Start in xboard compatible mode. This turns off the input prompt and alters the output format to meet the requirements of the xboard protocol. Normally, this option should not be necessary because hoichess automatically detects when it is started under xboard. The optional argument can be one of:
Force non-xboard mode.
Force xboard mode.
Automatically enable xboard mode when stdout is not a terminal, which is the case when HoiChess is started under xboard. This is the default.
Set location of opening book.
Disable opening book.
Set the size of the main hash table (transposition table). The size is given in bytes, the suffixes 'K' and 'M' (e.g. '32M') may be used to specify size in kilobytes or megabytes, respectively. A size of 0 disables the hash table.
Set the size of the pawn hash table. The size is given in bytes, the suffixes 'K' and 'M' (e.g. '32M') may be used to specify size in kilobytes or megabytes, respectively. A size of 0 disables the pawn hash table.
Set the size of the evaluation cache. The size is given in bytes, the suffixes 'K' and 'M' (e.g. '32M') may be used to specify size in kilobytes or megabytes, respectively. A size of 0 disables the evaluation cache.
Set engine's name to name.
Before accepting input from stdin, first read commands (and probably moves) from filename.
Control usage of \s-1ANSI\s0 color control sequences, e.g. when displaying the chess board. arg can be one of:
Never use \s-1ANSI\s0 color sequences.
Always use \s-1ANSI\s0 color sequences.
Automatically use \s-1ANSI\s0 color sequences when stdout is a terminal.
On Unix platforms, the default is auto. On Windows platforms, the default is off, because the Windows terminal is normally not \s-1ANSI\s0 capable.
hoichess supports most commands of the XBoard protocol. Those commands are described in detail at http://www.tim-mann.org/xboard/engine-intf.html. Furthermore, the following special commands are also available:
Give a brief summary about available commands.
Run move generator benchmark.
Run evaluator benchmark.
Run benchmark for make_move and unmake_move routines.
Use opening book bookfile.
Disable opening book.
Create a new opening book, from the games in pgnfile. The new book will be written to bookfile. The parameter depth specifies how many moves (half-moves, ply) of each game will be included in the opening book. If depth is 0, there is no depth limit, i.e. all moves of all games will be put into the book. The parameter min_move_count specifies how many times a move must be played until it is added to the opening book.
Set debug level to level. If level is omitted, the current debug level is printed.
Clear evaluation cache.
Set the size of the evaluation cache. The size is given in bytes, the suffixes 'K' and 'M' (e.g. '32M') may be used to specify size in kilobytes or megabytes, respectively. A size of 0 disables the evaluation cache.
Disable evaluation cache.
Print information about evaluation cache.
Print evaluation cache statistics.
Clear hash table.
Set the size of the main hash table (transposition table). The size is given in bytes, the suffixes 'K' and 'M' (e.g. '32M') may be used to specify size in kilobytes or megabytes, respectively. A size of 0 disables the hash table.
Disable hash table.
Print information about hash table.
Print hash table statistics.
Set hash table replacement scheme. Currently available schemes are:
always Always replace existing entries by new entries.
depth Replace existing entries only by entries with same or higher search depth.
From now on, ignore the command command. This is basically intended for debugging. See also command obey.
Do not ignore the command command anymore. See also command ignore.
Configure the pawn hash table. The available options are the same as for the main hash table (see command hash), with the exception that pawnhash replace is not available, because the pawn hash table always uses the \*(L"always replace\*(R" strategy.
Set verbosity level to level. If level is omitted, the current verbosity level is printed.
Read commands from file, just like command line option --rcfile does.
Display the chess board.
Print the current position's \s-1FEN\s0.
Show all legal moves, captures, non-captures or escapes.
Evaluate current position and print result.
Show both players' clocks.
Show information about entire game, e.g. past positions, moves played, etc..
Run search on all positions in epdfile (testsuite mode).
http://www.hoicher.de/hoichess
xboard\|(6)
hoichess was written by Holger Ruckdeschel <[email protected]>.
This manual page was generated with pod2man\|(1).