openai / retro

Retro Games in Gym
MIT License
3.35k stars 524 forks source link

End environment after a level is complete #255

Open Syzygianinfern0 opened 2 years ago

Syzygianinfern0 commented 2 years ago

How can I end the environment after 1 level is complete in a game? I cannot find any related info of current level in anywhere in the environment object. Is it to be located by inspecting the RAM state? I can write the wrapper myself if its position is known.

PS: I am working with the Airstriker-Genesis environment.