cd /Users/marcin/Downloads/Halite2_Python3_MacOS
. .venv/bin/activate
zip -r ../botzip.zip *
python .venv//lib/python3.6/site-packages/hlt_client/client.py bot -b ../botzip.zip
. ./.venv/bin/activate # my virtualenv location
./halite --log -d "240 160" "python MyBot.py" "python MyBot.py"
Files named 0_Settler.log are your debug output
All starter kits should contain a run_game.sh
and run_game.bash
, you can use these scripts to quickly run a game of halite. By default, this script runs the basic Settler bot against itself.
Before submitting a bot, make sure you adhere to our guidelines, or the upload or compilation of your bot will fail.
- You should have a
MyBot.{extension for language}
in the root folder of your zip. For Rust, this should be acargo.toml
- If you are building on top of starter kit provided by us, make sure to include the hlt folder.
- Website: You can use the play page in the Halite website to submit your bot.
- Halite Client: If you a command line experience, you can use the Halite Client tool to upload your bot.