Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have a generic subclass of Gym Environment #186

Open
jjfiv opened this issue May 21, 2021 · 1 comment
Open

have a generic subclass of Gym Environment #186

jjfiv opened this issue May 21, 2021 · 1 comment
Assignees

Comments

@jjfiv
Copy link
Collaborator

jjfiv commented May 21, 2021

This code suggests that we could have one class (like our ToyboxBaseEnv) that allows us to register any game by name, https://github.com/openai/gym/blob/master/gym/envs/registration.py

gym.make("toybox", game="breakout")

This would allow seamless interop with newer, unpublished ctoybox backends with only-locally-implemented games.

@kclary
Copy link
Collaborator

kclary commented Jul 1, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants