This is a Sudoku solver built with Python and Pygame. You can input your Sudoku puzzle by clicking on cells and typing numbers. Once done, press "Start Solving" to solve the puzzle automatically. The solver validates your inputs and highlights any invalid entries in red.
- Click on any cell in the grid to select it.
- Type a number (1-9) to fill the selected cell.
- If you make a mistake, you can clear the cell by pressing Backspace.
- Once your puzzle is complete, press "Start Solving" to solve it automatically.
- If there are invalid entries (duplicate numbers in the same row, column, or 3x3 sub-grid), they will be highlighted in red. Correct these before solving.
- The solution will be shown with the solved numbers appearing in blue, so you can distinguish between the numbers you entered and those the solver completed.
- The program checks for duplicate numbers in rows, columns, and 3x3 sub-grids.
- If any violations are detected, the corresponding cells will be highlighted in red when you press "Start Solving."
- You must correct the invalid entries before the solver can proceed.
Run the SudokuWizard.py file
- Python 3.x
- Pygame (
pip install pygame)