Dentosal / python-sc2

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

Is it possible to snapshot a game state? #297

Closed baibinghere closed 1 year ago

baibinghere commented 5 years ago

Some scenarios needs to take a long time to reproduce. I'm wondering if there's a way to take a snapshot of the game state, like . E.g.

def step(self):
    if iteration == 2847:
        self.save_game_state()

Then when we want to reproduce, we can simply restore the game state.

danielvschoor commented 5 years ago

Hi. You might want to join the discord where there are more people to help you with any questions you might have: https://discordapp.com/invite/Emm5Ztz