0.1.10 • Published 4 years ago

chessmatch v0.1.10

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

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 between two engines

chessmatch match -w whitePlayer -b blackPlayer -n <rounds> [-c config-file.yaml]

Run a Swiss tournament between multiple engines

chessmatch swiss -e comma,separated,engine,list -n <rounds> [-c config-file.yaml]

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. By default, you're using the engines defined in configs/default.yaml.

Each engine config has options including:

  • evalFn (required) as one of the following options: random, e1, or e2.
  • params (optional) customize the behavior of a given evaluation function
    • e1 params:
      • checkWeight: An integer that encourages aggressive checks (higher = more aggressive, 0 = not considered).
      • checkmateWeight: An integer that encourages checkmates (higher = checkmate weighted more aggressively.)
0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago