Advertisement
posicat

/testMoves

Sep 21st, 2024 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. --File: /testMoves
  2.  
  3. local moves = require("cattech.moves")
  4. dofile("/cattech/turtle.lua")
  5. dofile("/cattech/file.lua")
  6.  
  7. displayHash(moves)
  8.  
  9. moves.up()
  10. moves.turnRight()
  11. moves.forward()
  12. displayHash(moves.position)
  13.  
  14. moves.turnLeft()
  15. moves.turnLeft()
  16. moves.forward()
  17. moves.turnRight()
  18. moves.down()
  19. displayHash(moves.position)
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement