Advertisement
Pokruk

Untitled

Jan 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. if robot.count() < 7 then
  2. print("Мало блоков")
  3. os.exit()
  4. end
  5. robot.swingUp()
  6. robot.up()
  7. robot.up()
  8. robot.up()
  9. robot.forward()
  10. robot.placeDown()
  11. robot.forward()
  12. robot.placeDown()
  13. robot.forward()
  14. robot.placeDown()
  15. robot.turnAround()
  16. robot.place()
  17. robot.up()
  18. robot.place()
  19. robot.up()
  20. robot.place()
  21. robot.up()
  22. robot.forward()
  23. robot.forward()
  24. robot.forward()
  25. robot.down()
  26. robot.down()
  27. robot.down()
  28. robot.down()
  29. robot.down()
  30. robot.down()
  31. robot.turnAround()
  32. robot.placeUp()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement