Example #1
0
 public TicTacToeSolver(TicTacToe game)
 {
     this.game = game;
     Root      = new Node(game.GetCopy());
     Console.WriteLine("Buidling Tree");
     Root.ProccessNextMoves();
     Console.WriteLine("Processing Values");
     Root.ProcessVals();
     curr = Root;
 }
Example #2
0
 public Node(TicTacToe ttt)
 {
     this.ttt = ttt;
     height   = 1;
 }