A Sudoku solver with a graphical user interface (GUI) that allows users to input Sudoku puzzles, solve them, display the results, and reset the puzzle. The application also checks the validity of user input.
[TOC]
- Enter Sudoku puzzles
- Solve Sudoku puzzles
- Display the solution
- Reset the puzzle
- Validate user input
- Python 3
- GUI: Tkinter
- Sudoku solving algorithm: Backtracking
- Main interface: Displays the Sudoku grid, allows input of the puzzle and displays the result
- Solver module: Implements the Sudoku solving algorithm
- Input validation: Checks the validity of user input
- Reset functionality: Clears input and results
- Install Python 3.x: Download Python
- Clone this repository:
git clone https://github.com/amazing-fish/sudoku-solver-gui.git
- Install the required libraries:
pip install -r requirements.txt
- Run the Sudoku solver:
python main.py
- Enter the Sudoku puzzle in the GUI, and click the "Solve" button.
- View the solution in the GUI.
- Click the "Reset" button to clear the input and results.
- Python basics: Python Tutorial
- Tkinter tutorial: Tkinter Tutorial
- Backtracking Sudoku solver: Sudoku Backtracking
- Data types (lists, dictionaries, tuples, etc.)
- Control flow (if, for, while, etc.)
- Functions and modules
- Windows and layout
- Widgets (buttons, labels, text boxes, etc.)
- Event handling and binding
- Basic concepts and principles
- Algorithm implementation and optimization
- Data validity checking
- Exception handling
Contributions are welcome! Please read the contributing guidelines before submitting a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.