Example #1
0
        private int shortestPath(Point start, Point end)
        {
            var mz = new MazeSolver(1, 0).Solve(map, start, end);

            return(mz.OfType <bool>().Sum(x => x ? 1 : 0));
        }