| Definition | implementation of the jumping task environment |
| No of environments | 1 |
Python3 implementation of the jumping task environment used in the following papers:
Learning Invariances for Policy Generalization
Contrastive Behavioral Similarity Embeddings for Generalization in Reinforcement Learning (ICLR 2021)
Description
The jumping-task environment is an extremely simple video game consisting of a black background, a floor and two rectangles. The grey rectangle starts on the left of the screen and can be moved with two actions, “Right” and “Jump”. The goal of the game is to reach the right of the screen while avoiding the white obstacle. There is only one specific distance (measured in number of pixels) to the obstacle where the agent has to chose the action “Jump” in order to pass over the obstacle. If jumping is chosen at any other point, the agent will inevitably crash into the obstacle. A reward of +1 is granted anytime the agent moves one pixel to the right (even in the air). The episode terminates if the agent reaches the right of the screen or touches the obstacle.

