Exemple #1
0
 static void Main(string[] args)
 {
     DirectoryInfo di = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory);
     Maze maze = new Maze(di.Parent.Parent.FullName + @"\trickMaze.maz");
     PathFinder pf = new PathFinder();
     pf.Moved += DrawOnMove;
     pf.Solve(maze);
 }
Exemple #2
0
 public void Solve()
 {
     PathFinder pf = new PathFinder();
     Assert.IsTrue(pf.Solve(this.Maze));
 }