Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat
- robot.detect()
- if state == "solid" then robot.swing()
- end
- until state == "liquid" or "air"
- robot.forward()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement