Skip to content

luxun1/halite3-gym

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

halite3-gym

Dockerized Halite3 Gym with a few helper scripts.

Build the container

Assumes docker is installed and running.

cd gym
make

Usage examples

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.

Helper script

The script gym/halite-gym.sh lets you execute arbitrary commands in the container.

On persistence

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.

Licence

Dockerfile and scripts by Aqeel Akber

Unlicence. Do what you wish.

Halite client tools

MIT licence here and source repository here

Contributing

Leave an issue, make a suggestion, make a pull request.

About

Dockerized Halite3 Gym with a few helper scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.7%
  • Shell 1.4%
  • Makefile 1.2%
  • Dockerfile 0.7%