BurnySc2 / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
509 stars 157 forks source link

simulating arcade mode #118

Closed mac2000 closed 2 years ago

mac2000 commented 2 years ago

Problem: suppose I wish to code bot fighting behavior, but if I will wait each time for a whole game it will take forever to implement 🤷‍♂️

https://youtu.be/7iECS7BrzMg

With the given approach, we can simulate literally any possible scenario we want and code bot pieces on top of them

Not sure if such examples are welcomed but wish to save them for future

PS: Thanks to the discord community for a suggestion

mac2000 commented 2 years ago

Thank you for a review, indeed it might be way too simple for someone who already had a chance to play with the library and figure out how everything works, but in the end, this one is for newcomers in a first place

I'm totally ok if this one will be declined, but will try to go thru review comment and try to solve them, just to see what it will look like after suggested changes

mac2000 commented 2 years ago

I have made a few changes here and there with the main goal to be closer as much as possible to your notes

Things I were not able to deal with:

Also I have checked this example on a few real maps like Acropolys, Blackburn, etc - everything works fine