NaIwo / BomberManAI

A custom environment that implements simplified version of BomberMan game for reinforcement learning experiments.
MIT License
4 stars 1 forks source link

Feature request: update PettingZoo version #1

Open elliottower opened 1 year ago

elliottower commented 1 year ago

Hi, would it be possible to update this repo to use the most recent version of PettingZoo? This project is listed in PettingZoo's third-party-environments, but we only want to include environments which work with the current version.

If you need any help working out issues due to different versions feel free to ask, there were some breaking changes in version 1.2, so it requires a bit of code changes to adapt. The previous API returned done in the step() function, whereas the new one returns truncated and terminated (matching gymnasium). There is a migration guide for gymnasium explaining the changes further, the steps should be basically the same (we're working on making resources for updating old PettingZoo repositories as well): https://gymnasium.farama.org/content/migration-guide/

NaIwo commented 1 year ago

Hi Thanks for reaching me out. I will look into the issue and I will try to adjust to the new version.