Jump to content
  • Advertisement
Sign in to follow this  
lowerlogic

Programming RTS AIs for Starcraft in C++

This topic is 3321 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!