This repository is a fork of [nathangrinsztajn/Box-World]. I customized to Viewport-BoxWorld described in the [paper].
The game provides tuple as a state. These are viewport map, owned key color, and position of player.
states | shape | note |
---|---|---|
viewport map | (k, k, 3) | k is viewport size, normalized to 0-1 |
owned key color | (3,) | normalized to 0-1 |
player position | (2,) | x-y coordinate, normalized to 0-1 |
The game provides 4 actions to interact with the environment. The mapping of the action numbers to the actual actions looks as follows
Action | ID |
---|---|
Move Up | 0 |
Move Down | 1 |
Move Left | 2 |
Move Right | 3 |
python Human_playing_Commandline.py --gifs