go2starr / CS-638-BWAPI

Starcraft: Broodwar AI bot
GNU Lesser General Public License v3.0
9 stars 7 forks source link

Combat mgr needs to decide which combat units to train #31

Open jmloethen opened 12 years ago

jmloethen commented 12 years ago

Units trained is still scripted such that the building is built and then an initial unit type is set to be trained, and then structure agent continually trains that unit until told to train another unit.

There is also no logic to stop training a unit, such as if we have too many marines and no tanks, the marines will be taking up all the supply units, and we won't have any room for tanks.