BWTA2 is a fork of BWTA, an add-on for BWAPI that analyzes the map and computes the regions, chokepoints, and base locations.
The original BWTA is only aimed to analyze "normal" maps, i.e. ICCup maps or other competitive starcraft maps. So don't be surprised if it crashes or produces strange results for maps like Crystallis or other money maps.

BWTA2 offers more functionalities (see Release Notes) and compatibility with BWAPI 4.

Download the last version and follow the starting guide

Citing this work

If you use BWTA2 for academic research, you are highly encouraged (though not required) to cite the following paper:

  author    = {Uriarte, Alberto and Onta\~{n}\'{o}n, Santiago},
  title     = {Improving Terrain Analysis and Applications to RTS Game AI},
  booktitle = {AIIDE},
  year      = {2016}

Information for developers

CGAL library is used to create the Segment Delaunay Graph. How to install (only if you need to compile the project).

There are two different branches:

  • master: It has the project in VS2013 and it is under maintenance.
  • vs2008: It is the old BWTA (VS2008) with some extra features (not planning to update anymore).


  • master
    • BWAPI 4.1.2
    • Boost 1.56
    • CGAL 4.4
    • Qt 5.3.0 (only for debugging)
    • StormLib (only for off-line map analysis)
  • vs2008
    • BWAPI 3.7.4
    • Boost 1.40
    • CGAL 3.5
    • Qt 4.6.3 (only for debugging)