pub fn is_line_of_sight_blocked( from: Coord, to: Coord, size: BoardSize, is_rock: impl Fn(Coord) -> bool, ) -> bool