There are two parts to set up the project with VS Code on Windows.
How to build the .exe
:
bot
folderMakefile: Build the current target
commandHow 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.