python-sc2 icon indicating copy to clipboard operation
python-sc2 copied to clipboard

Is it possible to snapshot a game state?

Open baibinghere opened this issue 5 years ago • 1 comments

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.

baibinghere avatar Jun 28 '19 17:06 baibinghere

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

danielvschoor avatar Jun 28 '19 19:06 danielvschoor