Halite Challenge 2017 bots playground
Go to the Starter Kit website.
Search for your language of choice under your platform and click on the download link provided.
The contents of the starter kit should include the following:
halite (Unix executable)
hlt (folder)
MyBot.py (main program)
README.md (introduction)
run_game.bat (for Windows)
run_game.sh (for Unix-based OS)
Note: Do not change the name of the MyBot.py file.
To enable bots to compete locally, copy and paste the following line of code into the terminal/command prompt:
./halite -d "240 160" "python3 MyBot.py" "python3 MyBotv1.py"
where MyBot.py is Player 1 and MyBotv1.py is Player 2. The game screen dimensions are 240x16.
Note: The halite Unix executable should be installed locally before playing the game.
Note: Ensure that the bot that is being used for submission to the Halite Challenge has the name of MyBot.<--lang-ext--> before compressing the files.
Go to the Halite Challenge website
Click on PLAY
Open the directory with the MyBot.py file and the htl directory. Compress the file and the directory into a .zip folder.
Drag and drop the compressed folder into the designated area that says "SUBMIT A BOT".
After uploading, the bot should have played a few starter games.