World Conquest Chronicles

World Conquest Chronicles

go-atari-cli, v1.4

The Atari Go program with a terminal-based interface.

Improving repository decor and fixing command-line flags.

Change Log

  • fixing:
    • code style;
    • command-line flags;
  • adding usage examples;
  • improving repository decor.

Usage

$ go-atari-cli -h | -help | --help
$ go-atari-cli [options]

Options:

  • -h, -help, --help — show the help message and exit;
  • -sgf STRING — board in Smart Game Format (default: empty board 5x5);
  • -humanColor {random|black|white} — human color (default: random);
  • -passes INTEGER — building passes (default: 1000);
  • -duration DURATION — building duration (e.g. 72h3m0.5s; default: 10s);
  • -parallelSimulator — use parallel game simulating of a single node child (default: false; for inverting use -parallelSimulator or -parallelSimulator=true);
  • -parallelBulkySimulator — use parallel game simulating of all node children (default: false; for inverting use -parallelBulkySimulator or -parallelBulkySimulator=true);
  • -parallelBuilder — use parallel tree building (default: true; for inverting use -parallelBuilder=false);
  • -unicode — use Unicode to display stones (default: true; for inverting use -unicode=false);
  • -colorful — use colors to display stones (default: true; for inverting use -colorful=false);
  • -blackColor INTEGER — SGR parameter for ANSI escape sequences for setting a color of black stones (default: 34; see for details: https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit);
  • -whiteColor INTEGER — SGR parameter for ANSI escape sequences for setting a color of white stones (default: 31; see for details: https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit);
  • -wide — display the board wide (default: true; for inverting use -wide=false);
  • -grid — display the board grid (default: true; for inverting use -grid=false).

Repository

Link: https://github.com/thewizardplusplus/go-atari-cli/tree/v1.4.

Content: code.

License: MIT.