idk lol
This commit is contained in:
parent
f8fd2513c8
commit
491112768c
27 changed files with 1095 additions and 3537 deletions
23
computer/11/square.lua
Normal file
23
computer/11/square.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue