Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local r = require("robot")
- local cs=1
- b=true
- for i=1 , 16 do
- for j=1 , 15 do
- r.forward()
- if r.count()==0 then cs = cs + 1 r.select(cs) end;
- r.placeDown()
- end
- if b then r.turnRight() r.forward() r.placeDown() r.turnRight()
- b=false
- else r.turnLeft() r.forward() r.placeDown() r.turnLeft() b=true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement