6 cutechess-cli - A command-line tool for chess engines matches
11 *cutechess-cli* -fcp ['ENGINE OPTIONS'] -scp ['ENGINE OPTIONS'] ['OPTIONS']
13 *cutechess-cli* -both ['ENGINE OPTIONS'] ['OPTIONS']
17 Runs chess matches from the command line.
24 Display the version information.
27 Display help information.
30 Display the list of configured engines and exit.
33 Apply <options> to the first engine.
36 Apply <options> to the second engine.
39 Apply <options> to both engines.
42 Set chess variant to <arg>. Must be 'Standard', 'Fischerandom',
43 'Capablanca', 'Gothic' or 'Caprandom'.
46 Use <file> (Polyglot book file) as the opening book.
49 Set the maximum book depth (in plies) to <n>.
52 Adjudicate the game as a draw if the score of both engines is
53 within <score> centipawns from zero after <n> full moves have
57 Adjudicate the game as a loss if an engine's score is at least
58 <score> centipawns below zero for at least <n> consecutive moves.
61 Set the event name to <arg>.
67 Display all engine input and output.
70 Use <file> as the opening book in PGN format.
72 -pgnout <file> [min]::
73 Save the games to <file> in PGN format. Use the 'min' argument
74 to save in a minimal PGN format.
77 Play each opening twice so that both players get to play it on
81 Set the site / location to <arg>.
88 Use an engine with the name <arg> from Cute Chess\' configuration
92 Set the name to <arg>.
95 Set the command to <arg>.
98 Set the working directory to <arg>.
101 Pass <arg> to the engine as a command line argument.
104 Send <arg> to the engine's standard input at startup.
107 Set the chess protocol to <arg>. Must be 'xboard' or 'uci'.
110 Set the time control to <arg>. The format is
111 moves/time+increment, where 'moves' is the number of
112 moves per tc, 'time' is time per tc (either seconds or
113 minutes:seconds), and 'increment' is time increment
117 Inverts the engine's scores when it plays black.
120 Set the search depth limit to <arg>.
123 Set the node count limit to <arg>.
126 Tell the engine to use a maximum of <n> cpus.
129 Set the path to endgame bitbases to <dir>.
132 Set the path to endgame tablebases to <dir>.
135 Set UCI option <name> to value <arg>.
141 * Play ten games between two Sloppy engines with a time
142 control of 40 moves in 60 seconds.
145 $ cutechess-cli -both cmd=sloppy tc=40/60 -games 10
148 * Use the 'name=Atak' parameter because it's a Xboard
149 protocol 1 engine and doesn't tell its name.
151 * Use the 'dir=C:\atak' parameter to point the location of
154 * Glaurung can tell its name and is in the PATH variable
155 so only the command is needed.
157 * Set Glaurung to use 1 thread.
159 * Set the time control to 40 moves in one minute and 30
160 seconds with a one second increment.
163 $ cutechess-cli -fcp name=Atak cmd=Atak32.exe dir=C:\atak proto=xboard -scp cmd=glaurung proto=uci cpus=1 -both tc=40/1:30+1
168 Written by Ilari Pihlajisto <ilari.pihlajisto@mbnet.fi> and Arto Jonsson
174 repo.or.cz: <http://repo.or.cz/w/sloppygui.git>
179 Copyright \(C) 2008-2009 Ilari Pihlajisto and Arto Jonsson. Free use of this
180 software is granted under the terms of GNU General Public License (GPL).