AK Bot
Clone or download
Pull request Compare This branch is 283 commits ahead, 2 commits behind davechurchill:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AKBot.CombatSimulation
AkBot.Tests
BOSS
SparCraft
UAlbertaBot
testing
.gitignore
CMakeLists.txt
CMakeSettings.json
License.md
README.md

README.md

AKBot - StarCraft AI Competition Bot

This bot based on the original UAlberta Bot written by David Churchill (dave.churchill@gmail.com)

Author: Andrey Kurdyumov (kant2002@gmail.com)

Dependencies

For mamaging dependencies used vcpkg

# install dependencies
vcpkg install boost sdl2 sdl2-image

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 https://github.com/Microsoft/vcpkg/blob/master/docs/users/integration.md#cmake-toolchain-file-recommended-for-open-source-cmake-projects 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

Documentation

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

Defines

  • 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

.\testing\compare_estimator.ps1

.\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