Created
August 22, 2018 02:06
-
-
Save fabito/9b81d459befc3a474e6970f3c624bbf5 to your computer and use it in GitHub Desktop.
neyboy_env - reset method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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