Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

sc2_bot

StarCraft II API template bot using SC2 Client API (C++). There is nothing important implemented in the bot code, it's just a template project with the s2client-api as git submodule using CMake.

Requirements

Download an install:

Linux

  • make library.

OS X

  • XCode command line tools.

Windows

Community version is free and it works too

Installation

Windows

$ git clone --recursive https://github.com/herodrigues/sc2_bot.git
$ cd sc2_bot
$ mkdir build
$ cd build
$ cmake ../ -G "Visual Studio 16 2019"
$ start sc2_bot.sln

Linux and OS X

$ git clone --recursive https://github.com/herodrigues/sc2_bot.git
$ cd sc2_bot
$ mkdir build && cd build

# Use 'cmake -DCMAKE_BUILD_TYPE=Debug ../' to display debug information
$ cmake ../
$ make
$ ./bin/sc2_bot -e <path-to-sc2-executable>

Updating s2client-api

In order to have the latest commits, you'll need to regularly perform a recursive update on the s2client-api library.

git submodule update --init --recursive
git submodule foreach --recursive git fetch
git submodule foreach git merge origin master

About

Template project for building a bot using the StarCraft II C++ Client API

Resources

License

Releases

No releases published

Packages

No packages published