View difference between Paste ID: jwwGJaGr and RtMGP6C6
SHOW: | | - or go back to the newest paste.
1
turtle.refuel(64)
2
while true do
3
    turtle.turnLeft()
4
    if turtle.detect() then
5
        turtle.turnRight()
6
    end
7
    if turtle.detect() then
8
        turtle.turnRight()
9
        if turtle.detect() then
10
            turtle.turnRight()
11
        end
12
    end
13
    turtle.forward()
14
end