Guest User

farmer

a guest
Aug 22nd, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local robot = require("robot")
  2. function start()
  3.   robot.up()
  4.   robot.forward()
  5.   end
  6. function side()
  7.   robot.swingDown()
  8.   robot.useDown()
  9.   robot.placeDown()
  10.   robot.forward()
  11.   robot.swingDown()
  12.   robot.useDown()
  13.   robot.placeDown()
  14.   robot.forward()
  15.   robot.turnRight()
  16.   end
  17. function parking()
  18.   robot.back()
  19.   robot.down()
  20.   end
  21. start()
  22. side()
  23. side()
  24. side()
  25. side()
  26. parking()
Advertisement
Add Comment
Please, Sign In to add comment