SelfArena: A config-based local arena

After using cg-brutaltester for a while, I wanted a better way to specify my config.
I decided to make my own tool based on YAML config files.

The tool allows you to create and reuse a config file like so:

referee:
  command: "java -jar <referees_dir>/Breakthrough-1.0-SNAPSHOT.jar"

players:
  - name: "MCTS Bot"
    command: "node <bots_dir>/my_mcts_bot.js"

  - name: "Minimax Bot"
    command: "<bots_dir>/my_minimax_bot.exe"

game:
  seed: 0  # Random seed
  games_per_matchup: 100
  players_per_game: 2
  swap_positions: true # Play each match as both sides (white and black)

execution:
  batches: 20 # Runs at most 20 matchs in parallel

It should be compatible with the same referees as cg-brutaltester.

1 Like