Farama-Foundation / gym-examples

Example code for the Gym documentation
71 stars 51 forks source link

Migration from gym to gymnasium - an update to the <gym-examples> repository #17

Closed ChrisZonghaoLi closed 1 year ago

ChrisZonghaoLi commented 1 year ago

Greetings,

As the title suggests, since now gymis replaced by gymnasium, the original gym-examples repository should be updated accordingly. Most of the changes I have done are:

  1. Replaced import gym with import gymnasium as gym in all scripts.
  2. Update the setup.py so that it does pose the requirement for the gymnasium version
  3. Add folder grid_world/grid_world.py under the env folder, so that it matches the structure of the gymnasium. This way users can easily add and organize more customed environments.
  4. Fix the hyperlink in the README to point to the tutorial of creating customized environment.

Thanks,

Chris

ChrisZonghaoLi commented 1 year ago

@pseudo-rnd-thoughts

pseudo-rnd-thoughts commented 1 year ago

Hi, this repo is planning on being shutdown with the examples being replaced with the tutorials on the website