Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- robot = require("robot")
- while i < 9 do
- for j = 0, 3 do
- robot.forward()
- i = i + 1
- end
- if x % 2 == 0
- robot.turnRight()
- robot.forward()
- robot.turnRight()
- else
- robot.turnLeft()
- robot.forward()
- robot.turnLeft()
- end
- j = 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement