Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. move();
  2. turnLeft();
  3. move();
  4. move();
  5. move();
  6. collectCoins();
  7. move();
  8. turnRight();
  9. move();
  10. move();
  11. turnRight();
  12. move();
  13. collectCoins();
  14. move();
  15. turnLeft();
  16. move();
  17. move();
  18. turnLeft();
  19. move();
  20. collectCoins();
  21. move();
  22. turnRight();
  23. move();
  24. move();
  25. turnRight();
  26. move();
  27. collectCoins();
  28. move();
  29. move();
  30. move();
  31. turnLeft();
  32.  
  33. function collectCoins(){
  34.  
  35. takeBall();
  36. takeBall();
  37. }
  38.  
  39. function turnRight(){
  40.  
  41. turnLeft();
  42. turnLeft();
  43. turnLeft();
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement