Dockerized Halite3 Gym with a few helper scripts.
Assumes docker is installed and running.
cd gym
make
Read gym/Makefile for command examples.
**The Makefile and helper scripts are expected to be executed in the gym working directory**
Conceptually: register bots to play, evaluate, list to see scoreboard.
All the information will be saved in gym/mnt/gym.db on the host.
The output of the commands is JSON for easier piping into other programs.
The script gym/halite-gym.sh lets you execute arbitrary commands in the container.
Docker containers have no peristant storage. The helper scripts and examples
mount the folder mnt
in the directory where they are run on the host to
/halite
in the container.
The scripts that are stored in gym/bin expect that gym related
storage is in the folder /halite
in the container.
Unlicence. Do what you wish.
MIT licence here and source repository here
Leave an issue, make a suggestion, make a pull request.