예제 #1
0
 private void button_hint_Click(object sender, RoutedEventArgs e)
 {
     if (!solver.bufferEmpty(buffer))
     {
         board.Hint(siatka, tab, buffer);
         if (solver.IfWin(buffer))
         {
             board.Win(siatka);
         }
     }
 }