code: def rotate_ports(self):
          
          for port in self.ports:
              port.tile_id = ((port.tile_id + 1) % len(hexgrid.coastal_tile_ids())) + 1
              port.direction = hexgrid.rotate_direction(hexgrid.EDGE, port.direction, ccw=True)
          self.notify_observers()
docs: Rotates the ports 90 degrees. Useful when using the default port setup but the spectator is watching
          at a "rotated" angle from "true north".