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

Cancel expanding when attacked #28

Closed Mirroar closed 3 years ago

Mirroar commented 3 years ago

When expanding (on the same or another shard), other players may attack and prevent the expansion from taking hold. We need to be able to detect such a situation, and respond by either defending, or aborting the expansion.

Mirroar commented 3 years ago

Currently expansions are aborted after some time, and the bot is disincentivized from expanding in the same area. Better defense would be great but requires a lot of preparations.