Commit Graph

14 Commits

Author SHA1 Message Date
Greg Brockman
2aa03d6088 Add configure method to Env, and support multiple displays in CartPole (#175)
* Add configure method to Env, and support multiple displays in CartPole

This allows people to pass runtime specification which doesn't affect
the environment semantics to environments created via `make`.

Also include an example of setting the display used for CartPole

* Provide full configure method

* Allow environments to require configuration

* Don't take arguments in make
2016-06-12 20:56:21 -07:00
Oleg Klimov
72d89cb22f Faster video recording (#119)
* Faster video recording

* rendering.py: return_rgb_array default to False, for other environments not to break
2016-06-06 00:06:26 -07:00
Greg Brockman
892485a3ff rendering.py: Add on_close handler
Closes #48
2016-05-11 13:26:53 -07:00
Trevor Blackwell
f094e7d763 Cleanup pr/53 2016-05-10 17:29:02 -07:00
Trevor Blackwell
52dc50eacb Merge branch 'pr/53' 2016-05-10 17:26:15 -07:00
Trevor Blackwell
9287889214 Merge branch 'master' into pr/53
# Conflicts:
#	.gitignore
#	gym/envs/board_game/go.py
#	gym/monitoring/video_recorder.py
#	gym/scoreboard/client/api_requestor.py
2016-05-10 17:22:49 -07:00
Botev
c62b2da337 A few compatibility issues with python3 resolved.
Fixed lot's of issues with the HexEnv.
Added Hex9x9-v0 to registry
2016-05-03 20:10:00 +01:00
Oleg Klimov
386096f60a rendering.py: 'color' keyword argument handling fixed 2016-05-03 12:07:14 +03:00
Jonas Schneider
e74ed45f56 Use our reraising when probing for pyglet 2016-05-01 23:38:19 -04:00
Jonas Schneider
fd18ec3507 Merge remote-tracking branch 'origin/master' into py3
Conflicts:
	gym/envs/atari/atari_env.py
2016-04-29 18:07:47 -07:00
Greg Brockman
431043256b rendering.py: Actually interpolate error message 2016-04-28 22:20:41 -07:00
Jonas Schneider
5065950a09 Fix Python3 compat of import dependencies 2016-04-27 18:03:29 -07:00
Greg Brockman
fa61141a57 Raise a better error for a missing pyglet 2016-04-27 11:46:11 -07:00
Greg Brockman
e8f2980603 Initial release. Hello world :). 2016-04-27 08:00:58 -07:00