Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # === TEST
- planet = Planet()
- # ===
- planet.add_path(((-6, -2), Direction.NORTH), ((-6, -1), Direction.SOUTH), 1)
- planet.add_path(((-6, -1), Direction.EAST), ((-5, -1), Direction.WEST), 1)
- planet.add_path(((-5, -1), Direction.NORTH), ((-5, -0), Direction.SOUTH), 1)
- planet.add_path(((-5, -1), Direction.WEST), ((-6, -2), Direction.EAST), 2)
- planet.add_path(((-6, -1), Direction.WEST), ((-7, -1), Direction.EAST), 1)
- planet.add_path(((-7, -1), Direction.SOUTH), ((-7, -2), Direction.NORTH), 1)
- planet.add_path(((-7, -2), Direction.EAST), ((-7, -2), Direction.SOUTH), 1)
- planet.add_path(((-7, -2), Direction.WEST), ((-8, -2), Direction.EAST), 1)
- planet.add_path(((-8, -2), Direction.NORTH), ((-9, -1), Direction.EAST), 3)
- planet.add_path(((-9, -1), Direction.SOUTH), ((-8, -2), Direction.WEST), 1)
- planet.add_path(((-9, -1), Direction.NORTH), ((-9, 0), Direction.SOUTH), 1)
- planet.add_path(((-9, 0), Direction.WEST), ((-9, -1), Direction.WEST), 1)
- planet.add_path(((-9, 0), Direction.EAST), ((-7, 0), Direction.WEST), 1)
- planet.add_path(((-7, 0), Direction.EAST), ((-6, -1), Direction.NORTH), 4)
- planet.add_path(((-7, 0), Direction.SOUTH), ((-7, -1), Direction.NORTH), 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement