资 源 简 介
PyBW lets AI agents written in Python play Starcraft Broodwar, by wrapping BWAPI.
Features
Pythonic interface to all BWAPI and BWTA structures
An interactive (REPL) console
Supports latest version of BWAPI (Beta 3.4)
Screenshot
An example working environment: The AI bot is playing the game, and everything is accessible and modifiable within the python console.
How to Compile and Run from the SVN
Get PyBW source code through the SVN
Make sure you have "BWAPI_Beta_3.4" (latest release at the moment of writing this) or later
Make sure you have Python (tested only with 2.6)
Put PyBW directory inside the BWAPI_Beta_3.4 directory
Open solution file in Visual Studio
Set build to "release"
Build solution
change bwapi-datawapi.ini to accept client connections (set ai_