Please enable JavaScript.
Coggle requires JavaScript to display documents.
Starcraft AI Framework (Scout (Responsible for checking the enemy…
Starcraft AI Framework
Player
Responsible for resource control
Minerals
Gas
Units ownership
Unit Locations
Unit Priorities
Unit Inventory
Maintains unit maps to avoid looping through entire unit list
Worker map
Army map
Controls which other AI are instantiated
Scout
Responsible for checking the enemy locations
Use polling style algorithm; rechecking last known positions every specified interval
Maps vulnerabilities
Controls a few "scout" units, knows about which units it prefers
Knows about unit vision range
Maps enemy unit locations
Requests units from the Player for using as scout units
Producer
Responsible for using production buildings to produce units
Is aware of unit compositions
Gives units produced to the Player
Uses last known enemy unit composition to build counter units
Requests resources from the Player to build units
Expander
Responsible for using "workers" to build buildings
When to expand resource collection vs unit production
Keeps supply available by producing supply buildings at the right time
Requests resources from the Player to build buildings
Requests workers form the Player to use for building
Miner
Responsible for using "workers" to min minerals and collect gas
Builds refineries
Gives resources collected to the Player
Requests minerals from the Player for building refineries and more workers
Gets given workers from the player
MicroManager
Responsible for micro managing an army (group of units)
Gets given units by the Player
Determines where to fight based on Vulnerability map
Knows how to micro each unit most effectively