Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 0
- write("Mauer in X:")
- X = io.read()
- write("Mauer in Y:")
- Y = io.read()
- c = a+X
- d = a+Y
- d1 = a+Y
- while c > 0 do
- while d > 0 do
- turtle.place()
- turtle.up()
- d = (d - 1)
- end
- d = (d + d1)
- while not turtle.detectDown() do
- turtle.down()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- c = (c - 1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement