Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local times =tonumber(io.read())
- while times > 0 do
- local depth = 0
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- while depth > -50 do
- turtle.digDown()
- turtle.down()
- depth = depth - 1
- end
- while depth < 0 do
- turtle.up()
- depth = depth + 1
- end
- times = times - 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement