Advertisement
Birog

Test

Nov 2nd, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1.                 if a == 0 then
  2.                     print(" Start Position erreichen")
  3.                     print(" A ist "..a.."")
  4.                     turtle.forward()
  5.                     tryDown()
  6.                     tryDown()
  7.                     turtle.placeDown()
  8.                     print("5 Steine müssen Platziert werden")
  9.                         for k=1,5 do
  10.                         print("Platziere Steine "..k.." ")
  11.                             turtle.forward()
  12.                             tryDigDown()
  13.                             turtle.placeDown()
  14.                         end
  15.                         a = a + 1
  16.                         print("Pruefung von A "..a.."")                    
  17.                 elseif a == 1 then
  18.                     print(" A ist gleich 1")
  19.                     turtle.forward()
  20.                     tryDigDown()
  21.                     turtle.placeDown()
  22.                 end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement