Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Combien de blocs fera votre tunnel ?")
- blocs = read()
- blocs = tonumber(blocs)
- blocs = blocs * 2
- print("Le minage va commencer !")
- turtle.refuel(5)
- repeat
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.digDown()
- blocs = blocs - 1
- until blocs == 0
- turtle.turnRight()
- turtle.turnRight()
- repeat turtle.forward()
- until turtle.detect()
- print("Le minage est fini !")
Advertisement
Add Comment
Please, Sign In to add comment