Posted 24 October 2012 - 02:44 PM
I should have it set to build this
But it builds this:
and the loop does not work
here is my code
But it builds this:
and the loop does not work
here is my code
local i = 1
function Row()
turtle.forward()
turtle.turnRight()
turtle.placeDown()
turtle.forward()
turtle.down()
turtle.placeDown()
turtle.forward()
turtle.placeDown()
turtle.forward()
turtle.placeDown()
turtle.up()
turtle.placeDown()
turtle.turnLeft()
turtle.turnLeft()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
end
term.clear()
term.setCursorPos(1,1)
write("Please enter how many row you want:")
a = read()
repeat
Row()
i = 1 + 1
until 1 == a