BryanSWeber / CUNYAIModule

CUNYBot, an AI that plays complete games of Starcraft.
MIT License
6 stars 3 forks source link

Pre-building is not actually working very well #204

Closed BryanSWeber closed 4 years ago

BryanSWeber commented 4 years ago

Hatcheries are going down at 375? Too late.

BryanSWeber commented 4 years ago

Fixed the prebuilding issue but this creates another problem.

Now, faraway hatcheries are basically being built continually.

BryanSWeber commented 4 years ago

Options - 1) cap the pre-build mineral addition distance at, say, 500. 2) penalize the location function for worker travel distance, preferring nearby locations?

BryanSWeber commented 4 years ago

I did both. It looks pretty good, and I capped the resource gain from travel time at 500 as well, so buildings are not being placed 500 away because it is "affordable".

34e74be6b325037f9190ac67ce981ec55dc60fea

BryanSWeber commented 4 years ago

Macro Hatches do not appear to be placed in the correct position. They seem to prefer to have only 1 per block rather than the expected positioning around the base.

BryanSWeber commented 4 years ago

Macro hatches seem to be in the right position after extensive JPS conversion and switch.