Beispiel #1
0
        private static void SolveSmall()
        {
            SudokuBoard board = SudokuFactory.SizeAndBoxes(4, 4, 2, 2);

            board.AddRow("0003");
            board.AddRow("0004");
            board.AddRow("1000");
            board.AddRow("4000");
            CompleteSolve(board);
        }
Beispiel #2
0
        private static void SolveFail()
        {
            SudokuBoard board = SudokuFactory.SizeAndBoxes(4, 4, 2, 2);

            board.AddRow("0003");
            board.AddRow("0204"); // the 2 must be a 1 on this row to be solvable
            board.AddRow("1000");
            board.AddRow("4000");
            CompleteSolve(board);
        }