Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- width=9
- length=8
- function turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- left=true
- for y = 0, width, 1 do
- for x = 0, length, 1 do
- turtle.forward()
- end
- if(left) then turnLeft() end
- if(left == false) then turnRight() end
- if(left) then
- left = false
- else
- left = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement