This program generates a Sudoku puzzle and then attempts to solve it.
Execute py main.py
in the terminal to run the program.
- Generates and solves a Sudoku puzzle, ensuring that the puzzle has a unique solution.
- The program may experience slower solving speeds if the clues are unevenly distributed across the board. An uneven distribution of clues can make the puzzle computationally more complex to solve.
- The program starts with an empty 9x9 grid.
- Random numbers are filled into the grid while maintaining Sudoku rules.
- Some numbers are then removed, ensuring that the puzzle still has a unique solution.
- Finally, the program solves the generated puzzle.