There are two parts to set up the project with VS Code on Windows.
How to build the .exe
:
- Inside VS Code, open the
bot
folder - Install MinGW
- Install Makefile Tools for VS Code
- Use the
Makefile: Build the current target
command
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.
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.