Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wall (width, height)
- y = 0
- while y < height do
- x = 0
- turtle.turnLeft()
- turtle.turnLeft()
- while x < widht do
- turtle.back()
- turtle.place()
- x = x + 1
- end
- turtle.up()
- turtle.forward()
- y = y + 1
- end
- end
- wall (5, 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement