Skip to content

Instantly share code, notes, and snippets.

@WhatIThinkAbout
Created July 20, 2022 08:04
Show Gist options
  • Select an option

  • Save WhatIThinkAbout/a270314c5ac7e831dd85b90ea56ce3e3 to your computer and use it in GitHub Desktop.

Select an option

Save WhatIThinkAbout/a270314c5ac7e831dd85b90ea56ce3e3 to your computer and use it in GitHub Desktop.
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