Currently the environment (including both game envs) does not validate the action value that is passed to the _step(action) call. It turns out that in certain circumstances, this could allow an agent to incorrectly 'escape' from the confines of the game, navigate menus, etc, which it shouldn't be able to do. See here for an example.
This should be added at the top of each overload of _step(action):
Currently the environment (including both game envs) does not validate the
action
value that is passed to the_step(action)
call. It turns out that in certain circumstances, this could allow an agent to incorrectly 'escape' from the confines of the game, navigate menus, etc, which it shouldn't be able to do. See here for an example.This should be added at the top of each overload of
_step(action)
: