Refactor Lunar Lander and Bipedal Walker to use Pygame (#2552)

* Refactor lunar lander to use pygame

* Fix minor rendering inconsistency

* Refactor bipedal walker to use pygame

* Reformat with black

* Remove viewer

* Fix color for obstacles

* Update dependencies for box2d

* Optimize screen initialization
This commit is contained in:
Andrew Tan Jin Shen
2022-02-05 22:42:45 +08:00
committed by GitHub
parent 11760cd0b0
commit 2e36cde12e
4 changed files with 196 additions and 99 deletions

View File

@@ -12,7 +12,7 @@ from version import VERSION
extras = {
"atari": ["ale-py~=0.7.1"],
"accept-rom-license": ["autorom[accept-rom-license]~=0.4.2"],
"box2d": ["box2d-py==2.3.5", "pyglet>=1.4.0"],
"box2d": ["box2d-py==2.3.5", "pygame==2.1.0"],
"classic_control": ["pyglet>=1.4.0"],
"mujoco": ["mujoco_py>=1.50, <2.0"],
"toy_text": ["pygame==2.1.0", "scipy>=1.4.1"],