All compilation and game execution is done on AWS EC2 m3.medium servers running Ubuntu 16.04. They have the following specs:
During compilation and games, players are run as unprivileged users in a sandbox which limits memory, processing power, execution time, disk space, and internet access. The sandbox is a docker container defined by this Dockerfile, running on top of Docker 1.6.2. If you think that there is an issue with the sandbox, please email us at halite@halite.io.
Bot compilation is done using this autocompile script.
To facilitate the installation of custom software, we allow users to include an install script. If a file named install.sh
exists in your submission, it is run as a bash script under the root user in a sandbox with internet access and 10 minutes of runtime. Bots may only read and write to their current directory, so all files that you want to be available at runtime must be installed locally. For more on using 3rd party libraries, click here.
Your main file must be called MyBot
. Your language is recognized using the file extension of your MyBot
file. The appropriate file extensions for each language are:
The following compilers are used:
The following build automators are used:
The following versions of each language are supported:
Bots are given 250 MB of RAM and equal amounts of CPU.
Currently, 20x20, 25x25, 30x30, 35x35, 40x40, 45x45, and 50x50 games are run. Games may be 2-6 player.
Games are always run using the most recent environment build.