Created
July 24, 2022 11:33
-
-
Save WhatIThinkAbout/158660204cb19db7c651906272d9ce2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setup = { 'width': 8, | |
| 'height': 5, | |
| 'add_maze': True, | |
| 'maze_seed': 42, | |
| 'end': [5,4] | |
| } | |
| walls = [((2, 0),'E'), # remove the east wall at (2,0) | |
| ((2, 2),'E'), # remove the east wall at (2,2) | |
| ((3, 2),'E'), # remove the east wall at (3,2) | |
| ((5, 2),'E')] # add an east wall at (5,2) | |
| setup['walls'] = walls | |
| puddles = [((2,2),1), | |
| ((2,0),1), | |
| ((7,3),1), | |
| ((3,2),2), | |
| ((5,1),2)] | |
| setup['puddles'] = puddles | |
| setup['grid'] = {'theme': 'black_orange'} | |
| setup['side_panel'] = {'width':200} | |
| env = BabyRobotEnv_v6(**setup) | |
| env.render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment