0. StarCraft II Python Bot: Introduction

# Python library for StarCraft II

«An easy-to-use library for writing AI Bots for StarCraft II in Python 3. The ultimate goal is simplicity and ease of use, while still preserving all functionality. A really simple worker rush bot should be no more than twenty lines of code, not two hundred. However, this library intends to provide both high and low level abstractions.»


You can find how to install in the previous link.

# About this tutorial

I structured this tutorial in three parts. From the beginning to the end it adds more and more things your bot can do. Every chapter will add a new functionality and when you finish your (Terran) bot, it will have a basic behaviour: gather, build an army, attack.

This tutorial has two parts to get you started on programming a StarCraft II Bot using python libraries and the StarCraft II game.

The structure is the next:
  •     0. This introduction
  •     1. Gathering resources
  •     2. Building units

# Starcraft Race of the bot

- Terran

The terrans (or humans) are a young species with psionic potential. The terrans of the Koprulu sector descend from the survivors of a disastrous 23rd century colonization mission from Earth.