Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Combien de block va traverse la turtle")
- blocs = read()
- blocs = tonumber(blocs)
- print("Le minage va commence")
- repeat
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.turnLeft()
- turtle.dig()
- turtle.up()
- turtle.dig()
- turtle.turnRight()
- turtle.turnRight()
- turtle.dig()
- turtle.down()
- turtle.dig()
- turtle.turnLeft()
- blocs = blocs - 1
- until blocs = 0
Advertisement
Add Comment
Please, Sign In to add comment