A web-based Sudoku solver that uses a backtracking algorithm to solve any valid Sudoku puzzle.
- Clean, modern web interface
- Real-time input validation
- Solves any valid Sudoku puzzle
- Clear and intuitive controls
- Install Python 3.x from python.org
- Clone this repository:
git clone https://github.com/PierrunoYT/sudoku-solver-ui.git
cd sudoku-solver-ui
- Install dependencies:
python -m pip install -r requirements.txt
- Install Python if not already installed:
brew install python3
- Clone this repository:
git clone https://github.com/PierrunoYT/sudoku-solver-ui.git
cd sudoku-solver-ui
- Install dependencies:
pip3 install -r requirements.txt
- Install Python if not already installed:
# Debian/Ubuntu
sudo apt-get update
sudo apt-get install python3 python3-pip
# Fedora
sudo dnf install python3 python3-pip
# Arch Linux
sudo pacman -S python python-pip
- Clone this repository:
git clone https://github.com/PierrunoYT/sudoku-solver-ui.git
cd sudoku-solver-ui
- Install dependencies:
pip3 install -r requirements.txt
- Start the web server:
python app.py
- Start the web server:
python3 app.py
- Open your web browser and navigate to:
http://localhost:5000
-
Enter the numbers in the Sudoku grid:
- Use numbers 1-9
- Leave empty cells for unknown values
- The Solve button will be enabled once you enter at least one number
-
Click "Solve" to find the solution
- If a solution exists, it will be displayed in the grid
- If no solution exists, you'll see an error message
-
Click "Clear" to reset the grid and start over
- Backend: Python Flask server with a backtracking algorithm
- Frontend: HTML5, CSS3, and vanilla JavaScript
- Styling: Bootstrap 5 for modern UI components
app.py
- Flask web server and API endpointssudoku_solver.py
- Core solving algorithmtemplates/index.html
- Web interfacerequirements.txt
- Python dependencies