Beispiel #1
0
 public void Solve()
 {
     Solver.Solution solution = Solver.FindPath(currentState);
     Console.WriteLine(solution);
 }
Beispiel #2
0
 public int Score(LevelState state)
 {
     Solver.Solution solution = Solver.FindPath(state);
     return(solution.Solved ? solution.Explored : 0);
 }