fn is_line_of_sight_blocked_right_up( from: Coord, to: Coord, is_rock: impl Fn(Coord) -> bool, ) -> bool