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

Implement Worker order handling #31

Closed
krogenth opened this issue Feb 19, 2022 · 0 comments · Fixed by #40
Closed

Implement Worker order handling #31

krogenth opened this issue Feb 19, 2022 · 0 comments · Fixed by #40
Assignees
Labels
enhancement New feature or request

Comments

@krogenth
Copy link
Owner

With the Strategist created in #12, we now are able to issue orders to units. All unit wrappers can call upon the Strategist's getUnitOrder(BWAPI::UnitType type) method to retrieve the next possible build to perform. A Worker should only be asking for a build order when they are not busy. Any build that fails should not be discarded, but retried(possibly double checking that a building does not already exist in that location).

To retrieve a building location, you can use BWEB to retrieve a location. BWEB's functions for onUnitDiscover, onUnitMorph, etc. should also be added to Module to properly keep track of what is where in the map as well.

@krogenth krogenth added the enhancement New feature or request label Feb 19, 2022
@krogenth krogenth added this to To Do in AdditionalPylons via automation Feb 19, 2022
@0x416C657852 0x416C657852 moved this from To Do to In Progress in AdditionalPylons Feb 23, 2022
0x416C657852 added a commit that referenced this issue Feb 26, 2022
@0x416C657852 0x416C657852 moved this from In Progress to Review in AdditionalPylons Feb 26, 2022
AdditionalPylons automation moved this from Review to Done Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants