Sign in to follow this  

Programming RTS AIs for Starcraft in C++

This topic is 3097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, while this post is not on any particular AI concept or algorithm, I'm posting this because I think it will be of interest to AI programmers. I and several other programmers have been developing a free, new, open source C++ API for Starcraft: Broodwar called BWAPI which enables AI programmers like yourselves to write custom RTS AIs for Starcraft using C++. The layer of abstraction of the framework is equivalent to that of the Starcraft GUI - all the pathfinding, finite state machines for building structures, and mining minerals, attacking, etc. are all handled by the Starcraft game itself - ordering a unit to attack an enemy unit is as simple as calling the rightClick member function of the Unit interface on the desired unit. This means you can focus on more complex higher level AI algorithms for micromanagement, planning, and strategies for attacking, defending, harassment, scouting, and more. If this sounds interesting, head over to http://code.google.com/p/bwapi/ and check out the API manual, which will give you a link to a "Hello World" example AI module to show how you can get started writing your own AIs for Starcraft in C++ using BWAPI. [Edited by - lowerlogic on June 20, 2009 12:01:55 AM]

Share this post


Link to post
Share on other sites

This topic is 3097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this