pysc2-tutorial
pysc2-tutorial copied to clipboard
Tutorials for building a PySC2 bot
Hello, I'm getting the same type of error when running both the smart terran agent and the zerg agent, it appears randomly and I have no clue
player_y, player_x = (obs.observation["minimap"][_PLAYER_RELATIVE] == _PLAYER_SELF).nonzero() KeyError: 'minimap' Why does it happen and how can I fix it...?
Hello! First of all I want to thank you for your tutorial which really gives me a lot help, I learned a lot through your code. I am currently working...
I'm trying to run the final zerg bot (zerg_agent_step7.py) through the command: python3 -m pysc2.bin.agent --map Simple64 --agent zergbot.ZergAgent and I got the error: `zerglings = self.get_units_by_type(obs, units.Zerg.Zergling) File "/Users/xx/Desktop/xx/xx/pysc2-tutorial/zergbot.py",...
@skjb Would you at all be interested in an updated version of refined_agent.py for the PySC2.0?
a lot of names have been changed. Such as obs.observation["minimap"] to obs.observation["feature_minimap"]. Similarly obs.observation["screen"] to obs.observation["feature_screen"]. Im only starting your tutorial so I dont know of other name changes but...
I found one error in [zerg_agent_step5](https://github.com/skjb/pysc2-tutorial/blob/master/Build%20a%20Zerg%20Bot/zerg_agent_step5.py ). At line 48, need to change ` larvae = self.get_units_by_type(oba, units.Zerg.Larva)` to ` larvae = self.get_units_by_type(obs, units.Zerg.Larva)` thank you for your job
Hello! I modified the final version of the pysc2 tutorial that implements a Q-Learning algorithm for terran to work with the PySc2 2.0 library version. Tested on my PC without...
Nesting/relocating the drone selection block in the spawning pool conditional body was not mentioned in the tutorial, and visually unclear from code. While it makes sense we wouldn't want to...