* refactoring play function. Tests for keys to action mapping.
* Add mocking pygame events.
* partial event processing in class.
* pre-commit.
* quit pygame after tests.
* fix typos in functions names.
* Add type hint.
* Add test for play function.
* remove mockKeyEvent.
* remove unused main code.
* Adding type hints.
* catch custom exception in tests.
* Fix magic numbers.
* Add test with an actual environment.
* fix comment.
* Add TODO memo on env.render.
* change map with list comprehension.
* remove unused imports.
* Add type hint.
* typo.
* docstring.
* Update play.py
getting the play function working with game where the observation space is not a Box.
* Update mountain_car.py
adding get_keys_to_action method to the montain_car environement
* Update play.py
clean for pull request
* Update play.py
cleaning
* Update play.py
cleaning
- import pyglet window to fix mysterious issue with ui focus
(hat tip @jeanharb)
- make matplotlib backend take effect by picking before plot import
- fix misc. issues with example usage
* fix double reset, as suggested by @jietang
* better floors and ceilings
* add convenience methods to monitor
* add wrappers to gym namespace
* allow playing Atari games, with potentially more coming in the future
* simplify example in docs
* Move play out of the Env
* fix tests
* no more deprecation warnings
* remove env.monitor
* monitor simplification
* monitor simplifications
* monitor related fixes
* a few changes suggested by linter
* timestep_limit fixes
* keep track of gym env variables for future compatibility
* timestep_limit => max_episode_timesteps
* don't apply TimeLimit wrapper in make for VNC envs
* Respect old timestep_limit argument
* Pass max_episode_seconds through registration
* Don't include deprecation warnings yet