CUTECHESS-ENGINES.JSON(5) | File Formats Manual | CUTECHESS-ENGINES.JSON(5) |
cutechess-engines.json
—
cutechess-engines.json
is the chess engine configuration
file for cutechess-cli(6). An engine configuration defines a
name, a command, a working directory and many other options. Engine
configurations can be used in cutechess-cli(6) with the
conf
command-line option.
Engine configurations are defined in JavaScript Object Notation (JSON) format. See JSON FORMAT.
false
,
true
or null
.
Example objects would be:
{ "Finland" : ".fi", "Sweden" : ".se" } { "firstName" : "JC", "lastName" : "Denton", "age" : 28, "languages" : [ "English", "French", "Spanish" ] }
Example arrays would be:
[ "Cute", "Chess" ] [ [ 1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ]
Octal and hex forms are not allowed.
Example numbers would be:
128 -1.04 2e32 -18E-20
Available two-character escape sequences are as follows:
Example strings would be:
"Hello, world!" "Please place all items \"carefully\" in bins." "\u03a6 is one of the letters of Greek alphabet."
name
: stringcommand
: stringprotocol
: "uci" |
"xboard"Other available options for an engine configuration are:
workingDirectory
: stringstderrFile
: stringinitStrings
: array
of stringwhitepov
: true
|
false
true
invert the engine's scores when it plays
black. The default is false
.
This option should be used with engines that always report scores from white's perspective.
ponder
: true
|
false
true
enable pondering if the engine supports
it. The default is false
.[ { "name": "Sloppy", "command": "sloppy", "protocol": "xboard" } ]
Using the above engine configuration file with the
conf
command-line option:
$ cutechess-cli -engine conf=Sloppy
-engine conf=Sloppy -each tc=40/60 -rounds 10
The application/json Media Type for JavaScript Object Notation (JSON), RFC 4627, July 2006.
October 27, 2015 | Debian |