Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strategy IdealArmyComposition blocks #51

Open
ImpulseCloud opened this issue Mar 2, 2021 · 0 comments
Open

Strategy IdealArmyComposition blocks #51

ImpulseCloud opened this issue Mar 2, 2021 · 0 comments

Comments

@ImpulseCloud
Copy link
Contributor

IdealArmyComposition:
[ArmyUnit (type, amount, when)]
Marine , 20 , BUILDUNTILFULL
Marauder , 10 , ONLYBELOWRATIO
Tanks , 2 , BUILDUNTILFULL
Medivacs , 4 , ONLYBELOWRATIO
Total_IAC_Size (36)

Strategies can choose to train a unit only-if-below-ratio (unit-amount / Total_IAC_Size), or build-until-full.
Once an 'IdealArmyComposition' is achieved, it can add units (Thor, 2) to current IAC, or tech-switch to completely different composition.
(The Supply-Building heuristic can use the current strategy's IAC to see which units ProdBuildings will be building to estimate supply need)

Think of in terms of: https://terrancraft.com/2014/08/30/understanding-build-orders-in-blocks/

A strategy's IAC can be dormant during an "Opening" and triggered after a certain point. (e.g. Chargelot-Rush only triggers IAC (of all zealots) after it has all the gates up it wants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant