Creating an intelligent agent for StarCraft: Brood War
University of Liège Faculty of Applied Sciences 2009 – 2010 Firas Safadi Master in Computer Science Professional Focus
Creating an intelligent agent for StarCraft: Brood War University - - PowerPoint PPT Presentation
Creating an intelligent agent for StarCraft: Brood War University of Lige Faculty of Applied Sciences 2009 2010 Firas Safadi Master in Computer Science Professional Focus Introduction Computers Why artificial intelligence (AI)? Video
University of Liège Faculty of Applied Sciences 2009 – 2010 Firas Safadi Master in Computer Science Professional Focus
Why artificial intelligence (AI)?
Why real-time strategy (RTS) games?
Chapter I
3 races (Terran, Zerg and Protoss) different (but balanced!) with unique abilities and characterized by a distinct play style
minerals, gas, supplies (reclaimable)
Chapter II
Orders travel from the strategy manager down to individual
intermediate managers, eventually translating into concrete unit commands.
Operational Tactical Strategic
Strategy Manager Production Manager Work Squads Combat Manager Military Squads
Operational Tactical Strategic
Strategy Manager Production Manager Work Squads Combat Manager Military Squads
Operational Tactical Strategic
Strategy Manager Production Manager Work Squads Combat Manager Military Squads
Operational Tactical Strategic
Strategy Manager Production Manager Work Squads Combat Manager Military Squads
Operational Tactical Strategic
Strategy Manager Production Manager Work Squads Combat Manager Military Squads
Operational Tactical Strategic
Strategy Manager Production Manager Work Squads Combat Manager Military Squads
Train 8 marines Build barracks Acquire resources Gather minerals
Attack Create 2 squads Destroy outpost Kill a patrol unit
Chapter III
The Brood War Application Programming Interface (BWAPI) is an open source C++ “hacker” framework and provides hooks to access the game state and issue commands. BWAPI add-ons: BWSAL, BWTA, etc. BWAPI is not perfect!
Take user commands Compute next frame Draw screen
Agent processing Take agent commands Compute next frame Draw screen
Chapter IV
20 40 60 80 100 120 Units produced Units killed Units lost
Primary objective met Very useful for the years to come
Thanks for listening!