Created
July 20, 2022 08:04
-
-
Save WhatIThinkAbout/a270314c5ac7e831dd85b90ea56ce3e3 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
| from babyrobot.envs.lib import GridLevel | |
| from babyrobot.envs.lib import RobotDraw | |
| # draw the default grid level | |
| level = GridLevel() | |
| # add Baby Robot | |
| robot = RobotDraw(level) | |
| robot.set_cell_position([1,1]) | |
| robot.draw() | |
| # show all environment canvases | |
| level.draw() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment