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

How to make use of the json bot instructions? #48

Open
ryanzlu opened this issue Sep 10, 2023 · 1 comment
Open

How to make use of the json bot instructions? #48

ryanzlu opened this issue Sep 10, 2023 · 1 comment
Labels
question Further information is requested

Comments

@ryanzlu
Copy link

ryanzlu commented Sep 10, 2023

I'm looking to get a bot that can follow a specific build order. Is there an existing bot that can import the json generated by "Copy SC2 Bot Instructions"? Or are we suppose to build a custom bot using https://github.com/BurnySc2/python-sc2 with the json as input, and run each action based on the frame index?

@BurnySc2
Copy link
Owner

One such parser was created to cover a number of edge cases: https://github.com/DrInfy/sharpy-sc2/blob/47c157ac6724603ef5a5028b9d00eba28817350a/tools/json_build.py
But so far I don't know of any bot that implements it, as I suppose it is a bad strategy to hardcode build orders like that, because then the bot might get stuck. E.g. your bot gets cannon rushed and want to expand, it keeps sending down workers to try to expand.

@BurnySc2 BurnySc2 added the question Further information is requested label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants