Skip to content



Repository files navigation

AKBot - StarCraft AI Competition Bot

This bot based on the original UAlberta Bot written by David Churchill (

Author: Andrey Kurdyumov (


For mamaging dependencies used vcpkg

# install dependencies
vcpkg install sdl2 sdl2-image boost-algorithm boost-test

This is additional dependencies to Dave Churchill's bot.

Create environment variable VCPKG_CMAKE_BUILDFILE which point to the file C:\vcpkg\scripts\buildsystems\vcpkg.cmake or such. See for explanation of purpose of the file

How to build

For testing locally you need only VS2017, for these you should use Debug and Release solution configuration. For actual building go to UAlbertaBot\VisualStudio and open AKBot.sln

You can build using CMake

mkdir build
cd build
cmake -G "Visual Studio 16 2019" ..


Please check out the UAlbertaBot Wiki for full instructions and documentation and Wiki of current project for additional information which specific for this project!

Additional code configuration


  • BOSS_ASSERT_ENABLE This define allow assertion in the BOSS module. In original source code it is hardcoded in the source code which results in the very slow debug builds starting from middle game. Most of the time this is not requried, only helpful when needed debug BOSS.
  • SPARCRAFT_ASSERT_ENABLE This define allow assertion in the Sparcraft code.



.\testing\run_games.ps1 -Bot1 AKBot_Sparcraft -Bot2 PurpleWave -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_Sparcraft -Bot2 100382319 -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_Sparcraft -Bot2 "Hao Pan" -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_Sparcraft -Bot2 OpprimoBot -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_Sparcraft -Bot2 "Marine Hell" -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_Sparcraft -Bot2 Goliat -Games 5

.\testing\run_games.ps1 -Bot1 AKBot_FAP -Bot2 PurpleWave -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_FAP -Bot2 100382319 -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_FAP -Bot2 "Hao Pan" -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_FAP -Bot2 OpprimoBot -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_FAP -Bot2 "Marine Hell" -Games 5
.\testing\run_games.ps1 -Bot1 AKBot_FAP -Bot2 Goliat -Games 5