estellerostan / ants-aichallenge

Project for the first year JMIN AI course
0 stars 0 forks source link

AI Challenge Ants

Using VS Code

There are two parts to set up the project with VS Code on Windows.

bot

How to build the .exe:

  1. Inside VS Code, open the bot folder
  2. Install MinGW
  3. Install Makefile Tools for VS Code
  4. Use the Makefile: Build the current target command

tools

How to test the bot:
Run: .\play_one_game.cmd .\MyBot.exe from the tools folder.

Note: play_one_game.cmd was updated to remove RandomBot.py to allow MyBot.exe to play.

Using Visual Studio

There are some settings in bot/Bot.vcxproj.user that allows to automatically build and run the tools with Visual Studio to test faster than with VS Code.