Skip to content

Instantly share code, notes, and snippets.

@fabito
Created August 22, 2018 02:06
Show Gist options
  • Save fabito/9b81d459befc3a474e6970f3c624bbf5 to your computer and use it in GitHub Desktop.
Save fabito/9b81d459befc3a474e6970f3c624bbf5 to your computer and use it in GitHub Desktop.
neyboy_env - reset method
def reset(self):
self.game.restart()
self.state = self.game.get_state()
self.game.pause()
return self.state.snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment