Browse Source

final update for notebooks

main
sp 2 months ago
parent
commit
c17beaaaa9
  1. 590
      notebooks/FaultyActions.ipynb
  2. 230
      notebooks/GSW_Playground.ipynb
  3. 119
      notebooks/HelloLavaGap.ipynb
  4. 394
      notebooks/SlipperyCliff.ipynb
  5. 7
      notebooks/environments/Minigrid/minigrid/envs/GSW_Playground.py

590
notebooks/FaultyActions.ipynb
File diff suppressed because it is too large
View File

230
notebooks/GSW_Playground.ipynb
File diff suppressed because it is too large
View File

119
notebooks/HelloLavaGap.ipynb
File diff suppressed because it is too large
View File

394
notebooks/SlipperyCliff.ipynb
File diff suppressed because it is too large
View File

7
notebooks/environments/Minigrid/minigrid/envs/GSW_Playground.py

@ -98,6 +98,13 @@ class Playground(MiniGridEnv):
self.put_obj(Goal(), width - 2, 1) self.put_obj(Goal(), width - 2, 1)
# TODO: Add walls, pools of lava, etc. # TODO: Add walls, pools of lava, etc.
self.grid.horz_wall(2, 1, 3, slippery_north)
self.grid.vert_wall(5, 2, 2, slippery_east)
l = 4
self.grid.horz_wall(self.size - l - 1, self.size - 2, l, Lava)
self.put_obj(Lava(), 7, 3)
if self.randomize_start: if self.randomize_start:
self.place_agent() self.place_agent()

Loading…
Cancel
Save