Beispiel #1
0
 public SudokuCont(Sudoku s)
 {
     this.Sudoku = s;
     Pairwise    = new SudokuEncoderPairwise(s);
     Ladder      = new SudokuEncoderLadder(s);
 }
Beispiel #2
0
 private static void SetSudokuValue(Sudoku sudoku, int var)
 {
     SetIndices(sudoku.N2, var, out int x, out int y, out int value);
     // Console.WriteLine($"{var} -> ({x}, {y}) = {value+1}");
     sudoku.Table[x, y] = value + 1;
 }