Mirroar / hivemind

Fully automated open source AI core for the game screeps. Also usable as an opponent on private servers.
MIT License
29 stars 10 forks source link

Adjust transporter capacity and count based on path length in a room #46

Open Mirroar opened 3 years ago

Mirroar commented 3 years ago

The amount of transporters spawned in a room might not be sufficient when there are long paths between storage and sources / controller. This is especially true if links aren't built yet, or power creeps cause extra energy needing to be transported.

Either the room keeps track of transporter usage and adjusts numbers based on a rolling average, or we calculate a better estimate from the aforementioned factors.