Esempio n. 1
0
        private static void SolveIncompleteClassic()
        {
            var board = SudokuFactory.ClassicWith3x3Boxes();

            board.AddRow("...84...9");
            board.AddRow("..1.....5");
            board.AddRow("8...2.46."); // Removed a "1" on this line
            board.AddRow("7.8....9.");
            board.AddRow(".........");
            board.AddRow(".5....3.1");
            board.AddRow(".2491...7");
            board.AddRow("9.....5..");
            board.AddRow("3...84...");
            CompleteSolve(board);
        }
Esempio n. 2
0
        private static void SolveClassic()
        {
            var board = SudokuFactory.ClassicWith3x3Boxes();

            board.AddRow("...84...9");
            board.AddRow("..1.....5");
            board.AddRow("8...2146.");
            board.AddRow("7.8....9.");
            board.AddRow(".........");
            board.AddRow(".5....3.1");
            board.AddRow(".2491...7");
            board.AddRow("9.....5..");
            board.AddRow("3...84...");
            CompleteSolve(board);
        }