Exemplo n.º 1
0
 public TekMoves(TekBoard board)
 {
     _moves                = new Stack <TekPlay>();
     _board                = board;
     _snapshots            = new TekSnapShot(Board);
     _snapshots.AutoRemove = true;
 }
Exemplo n.º 2
0
 void DoReset(bool initial = false)
 {
     if (!initial)
     {
         CloseHeuristicLog();
     }
     listBox1.Items.Clear();
     heuristics.Reset();
     if (!initial)
     {
         View.ResetValues();
     }
     bStart.Enabled       = true;
     Snapshots            = new TekSnapShot(View.Board);
     Snapshots.AutoRemove = false;
 }