usi-run

Crates.iousi-run
lib.rsusi-run
version0.9.2
sourcesrc
created_at2017-02-21 13:03:06.483188
updated_at2022-06-06 23:15:12.313813
descriptionA command line utility for running games between USI compliant Shogi engines.
homepage
repositoryhttps://github.com/nozaq/usi-run
max_upload_size
id8620
size62,976
nozaq (nozaq)

documentation

README

usi-run

Github Actions Coverage Status crates.io

A command line utility for automatically running games between USI compliant Shogi engines and collect match statistics.

Tested with popular USI engines, e.g. Apery, Gikou(技巧), YaneuraOu(やねうら王).

Installing

usi-run can be installed from Cargo.

$ cargo install usi-run

Usage

A command line utility for running games between USI compliant Shogi engines.

USAGE:
    usirun [OPTIONS] --config <TOML>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --config <TOML>     Loads a configuration file for setting up match rules
    -d, --display <MODE>    Displays  [default: simple]  [values: board, csa, command, simple]

A configuration file looks like the following. See example.toml for more detail.

num_games = 10
max_ply = 256

[time_control]
black_time = 60000w
white_time = 60000
black_inc = 10000
white_inc = 10000

[black]
engine_path = "/path/to/executable"
working_dir = "/path/to/dir"
ponder = false

    [black.options]
    USI_Hash = 128
    Threads = 1

[white]
engine_path = "/path/to/executable"
working_dir = "/path/to/dir"
ponder = false

    [white.options]
    USI_Hash = 128
    Threads = 1
Commit count: 55

cargo fmt