Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nexxeln/sudoku.com-solver
- Owner: nexxeln
- License: mit
- Created: 2022-02-26T15:16:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-18T13:54:21.000Z (over 2 years ago)
- Last Synced: 2024-10-15T21:12:05.345Z (about 1 month ago)
- Topics: automation, magic, pyautogui, python, sudoku, sudoku-solver
- Language: Python
- Homepage:
- Size: 11.6 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.