예제 #1
0
        static void Main(string[] args)
        {
            List <SudokuModel> listSudokus = (List <SudokuModel>)SudokuData.GetMockData();
            var sudoku = listSudokus.Find(s => s.SudokuId.Equals(2));

            Logic.Algorithms.MainSolvers solver = new Logic.Algorithms.MainSolvers();
            solver.SolveGuessing(sudoku);
            Templates.VisualTemplates.Sudoku.PrintSudoku(sudoku.Cells);
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            List <SudokuModel> listSudokus = (List <SudokuModel>)SudokuData.GetMockData();
            var sudoku = listSudokus.Find(s => s.SudokuId.Equals(2));

            Solver solver = new Solver();

            solver.SolveGuessing(sudoku);
            PrintSudoku(sudoku.Cells);
            Console.ReadKey();
        }