Home

Awesome

About

Evaluation reversi AIs which implement NBoard Protocol.

Requirements

Setup

Install Libraries

pip install -r requirements.txt

Write engine.yml

Write engine.yml which defines how to execute external NBoard Engines.

<engine name>:
  working_dir: <path to working dir>
  command: <execute command>
  env:  # environment variables. Optional.
    KEY1: VALUE1
    KEY2: VALUE2

Usage

python src/reversi_arena/run.py -n <number of battles> play <engine1 name>:<depth> <engine2 name>:<depth>

ex)

python src/reversi_arena/run.py -n 10 play raz:1 ntest:1

All game moves are written in data/ggf/*.ggf. They can be loaded by NBoard.