aarif4 / saibot

Starcraft 2 AI bot
GNU General Public License v3.0
1 stars 0 forks source link

Supply Structure Arrangement #4

Open aarif4 opened 3 years ago

aarif4 commented 3 years ago

As the code generates Supply Structure, they're built in a haphazard manner, which leads to random and at times clumped regions of supply structures. Is there a way to arrange these structures in a geometric manner w.r.t the townhall?

aarif4 commented 3 years ago

some help: https://math.stackexchange.com/questions/1283085/hexagon-packing-in-a-circle

Perhaps we could iterate over each Protoss supply structure and see if you can build a neighboring pylon. However in the case of Terran, we'd need to build a barricade...