Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- color = colors.black
- --Each turtle is assigned a different color
- while (true) do
- input = rs.testBundledInput("bottom", color)
- block = turtle.detectUp()
- if (input) then
- if (block == false) then
- turtle.placeUp()
- end
- else
- if (block) then
- turtle.digUp("left")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement