Closed pseudo-rnd-thoughts closed 2 years ago
The major of the project is contained with the minigrid.py making it difficult to understand how environments are composed
In this PR, the minigrid.py file is split into a number of files with two new folders, utils and core. New locations
MiniGridEnv.Actions
COLORS
COLOR_TO_IDX
OBJECT_TO_IDX
Grid
MissionSpace
Room
RoomGrid
WorldObj
Wall
Box
LGTM
The major of the project is contained with the minigrid.py making it difficult to understand how environments are composed
In this PR, the minigrid.py file is split into a number of files with two new folders, utils and core. New locations
MiniGridEnv.Actions
-> core/actions.pyCOLORS
,COLOR_TO_IDX
,OBJECT_TO_IDX
, etc -> core/constants.pyGrid
-> core/grid.pyMissionSpace
-> core/mission.pyRoom
andRoomGrid
-> core/roomgrid.pyWorldObj
,Wall
,Box
, etc -> core/world_object.py