Exemplo n.º 1
0
        private static void SolvePuzzle(int nPuzzle)
        {
            var board = SudokuBoard.ClassicWith3x3Boxes();

            SudokuFiles.ReadPuzzle(nPuzzle, board);
            CompleteSolve(nPuzzle, board);
        }
Exemplo n.º 2
0
 private static void CompleteSolve(int selectedPuzzle, SudokuBoard board)
 {
     Console.WriteLine("\nOriginal Board:");
     board.Output();
     SudokuFiles.WriteSolution(selectedPuzzle, board);
 }