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

Introduce base environment class #3

Open
smarianimore opened this issue Jan 30, 2023 · 0 comments
Open

Introduce base environment class #3

smarianimore opened this issue Jan 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@smarianimore
Copy link
Collaborator

The single and multi agent environments actually share a great deal of their source code, as it is basically the implementation of a grid world.
However, they cannot collapse to a single class as they are meant to be compatible with Gymnasium (single agent) and PettingZoo (multi-agent).
Nevertheless, a base class could be introduced to deal with much of the code, to be "wrapped" inside two "facade" classes, one for Gymnasium and one for PettingZoo, simply adapting the interface and provided the needed additional stuff

@smarianimore smarianimore added the enhancement New feature or request label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant