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

Take into account all shards when counting rooms #33

Open Mirroar opened 3 years ago

Mirroar commented 3 years ago

Currently when expanding, we just check if ownedRooms < Game.gcl.level for the current shard. ownedRooms needs to take into account rooms from other shards as well.