Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.17 KB | None | 0 0
  1. # === TEST
  2.  
  3. planet = Planet()
  4.  
  5. # ===
  6. planet.add_path(((-6, -2), Direction.NORTH), ((-6, -1), Direction.SOUTH), 1)
  7. planet.add_path(((-6, -1), Direction.EAST), ((-5, -1), Direction.WEST), 1)
  8. planet.add_path(((-5, -1), Direction.NORTH), ((-5, -0), Direction.SOUTH), 1)
  9. planet.add_path(((-5, -1), Direction.WEST), ((-6, -2), Direction.EAST), 2)
  10.  
  11. planet.add_path(((-6, -1), Direction.WEST), ((-7, -1), Direction.EAST), 1)
  12. planet.add_path(((-7, -1), Direction.SOUTH), ((-7, -2), Direction.NORTH), 1)
  13. planet.add_path(((-7, -2), Direction.EAST), ((-7, -2), Direction.SOUTH), 1)
  14. planet.add_path(((-7, -2), Direction.WEST), ((-8, -2), Direction.EAST), 1)
  15. planet.add_path(((-8, -2), Direction.NORTH), ((-9, -1), Direction.EAST), 3)
  16. planet.add_path(((-9, -1), Direction.SOUTH), ((-8, -2), Direction.WEST), 1)
  17.  
  18. planet.add_path(((-9, -1), Direction.NORTH), ((-9, 0), Direction.SOUTH), 1)
  19. planet.add_path(((-9, 0), Direction.WEST), ((-9, -1), Direction.WEST), 1)
  20. planet.add_path(((-9, 0), Direction.EAST), ((-7, 0), Direction.WEST), 1)
  21.  
  22. planet.add_path(((-7, 0), Direction.EAST), ((-6, -1), Direction.NORTH), 4)
  23. planet.add_path(((-7, 0), Direction.SOUTH), ((-7, -1), Direction.NORTH), 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement