Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nexxeln/sudoku.com-solver

a sudoku solver that fills it out for you on a sudoku website
https://github.com/nexxeln/sudoku.com-solver

automation magic pyautogui python sudoku sudoku-solver

Last synced: 24 days ago
JSON representation

a sudoku solver that fills it out for you on a sudoku website

Awesome Lists containing this project

README

        

![preview](https://github.com/nexxeln/sudoku.com-solver/blob/main/images/sudoku_solver.gif?raw=true)

## Built with

- [Python](https://python.org)
- [PyAutoGUI](https://github.com/asweigart/pyautogui)
- [NumPy](https://numpy.org/)

## Prerequisites

- [Python 3.6](https://python.org) or later

## Usage

- Clone the repository: `git clone https://github.com/nexxeln/sudoku.com-solver`
- Create a new virtual environment: `python -m venv venv`
- Activate the virtual environment

- Windows: `venv/Scripts/activate`
- Linux: `venv/bin/activate`
- MacOS: `venv/bin/activate`
- Install the dependencies: `pip install -r requirements.txt`
- Go to [sudoku.com](https://sudoku.com) (or whatever website you prefer) and create a new game
- Run the program: `python sudoku.py`
- Enter all the rows of the puzzle in the terminal, for the empty cells enter `0`

![terminal](https://github.com/nexxeln/sudoku.com-solver/blob/main/images/sudoku_input.png?raw=true)
- Click on the first cell of the puzzle within 10 seconds to start solving
![click](https://github.com/nexxeln/sudoku.com-solver/blob/main/images/sudoku_click.png?raw=true)
- Do not mess with your mouse or press any keys until the program finishes
- Wait for the magic to happen ;)

## Contributing

If you think you can improve the code or add new features, please open an issue or pull request.