Beispiel #1
0
 public void Set(int row, int col, int value)
 {
     Items[row][col] = new InputCell(row, col, value);
 }
Beispiel #2
0
 public void Set(int row, int col, int value, bool isImmutable)
 {
     Items[row][col] = new InputCell(row, col, value);
     Items[row][col].IsImmutable = isImmutable;
 }
Beispiel #3
0
 public SudokerGrid()
 {
     Items = new InputCell[9][];
     for (int row = 0; row < 9; row++)
     {
         Items[row] = new InputCell[9];
         for (int col = 0; col < 9; col++)
         {
             Set(row, col, 0);
         }
     }
     SolutionList = new SolutionList();
     explorer = new Explorer(this);
     solver = new Solver(this, SolutionList);
 }