trainworld_computercraft/computer/11/square.lua
2025-06-22 00:08:46 +02:00

23 lines
335 B
Lua

turtle.forward()
right = true
function turn()
if right then
turtle.turnRight()
else
turtle.turnLeft()
end
end
for row = 1, 5 do
for block = 1, 16 do
turtle.placeDown()
turtle.forward()
end
turn()
turtle.forward()
turn()
turtle.forward()
right = not right
end