Welcome to the Brood War Behavioral Programming page!
- Install Starcraft.
- Install Brood War.
- Install BWAPI. (https://github.com/bwapi/bwapi/releases/download/v4.1.0-Beta/BWAPI_410B_2_Setup.exe)
- Install BroodWar path v1.161 (http://www.gamershell.com/download_38354.shtml)
- Install Visual C++ Redistributable Packages for Visual Studio 2013 (https://www.microsoft.com/en-us/download/details.aspx?id=40784) (vcredist_x86.exe)
- Install the latest 32-bit Java 7 SDK (http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-windows-i586.exe). JDK7 is the version required by Rhino as well as BWMirror, other JDKs are not promised to work.
- Install Git.
- Import this repository to your favorite IDE.
Install the map pack linked in this page and follow the instructions for configuring ChaosLauncher automatically. http://www.sscaitournament.com/index.php?action=tutorial
- Brood War is accessed via
BWAPI
andBWMirror
. BWAPI triggers callbacks (in an implementation of theBWEventListener
interface) that are registered inBWMirror
'sMirror
global object. For BP, we just wrap the data from these callbacks into events that we fire into theBPApplication
.
http://bwmirror.jurenka.sk/javadoc/index.html
Seach is done via continuations in Rhino.
PLEASE BUY THIS GREAT GAME.
Implemented by Moshe Weinstock for his MS.C. thesis at Ben-Gurion University.