build-your-own-chess-engine
v0.1.1
Published
(Pre-alpha) An educational tool that allows you to try different sets of parameters on a pre-build chess engine and run tournaments between the resulting bots.
Downloads
4
Readme
Bring Your Own Chess Engine CLI
(Pre-alpha) An educational tool that allows you to try different sets of parameters on a pre-build chess engine and run tournaments between the resulting bots.
API
Run a match
byoce match -c config-file.yaml [-r <rounds>] [--format swiss|roundrobin]
Config format
You can provide the name of a YAML engine config file to the commands via the -c
option if you want to customize the
behavior of the engines. By default, the file in configs/default.yaml
is used.
A config file is a list of named engines. See cli/configs
for some example configs.
Each engine must include the evalFn
field as one of the following options: random
, e1
, or e2
. Some evaluation
functions have additional parameters that you can customize via the params
command.
e1
is a basic evaluation function that takes the following (optional) parameters.