예제 #1
0
파일: Program.cs 프로젝트: pmlocke/Minotaur
 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);
 }
예제 #2
0
 public void Solve()
 {
     PathFinder pf = new PathFinder();
     Assert.IsTrue(pf.Solve(this.Maze));
 }