https://github.com/musadiqpasha/sudoko-solver
A Python script that automates the game of Sudoku and enters it automatically into the website.
https://github.com/musadiqpasha/sudoko-solver
pyautogui pytesseract-ocr python3 sudoku-game sudoku-solver
Last synced: 9 days ago
JSON representation
A Python script that automates the game of Sudoku and enters it automatically into the website.
- Host: GitHub
- URL: https://github.com/musadiqpasha/sudoko-solver
- Owner: MusadiqPasha
- License: mit
- Created: 2023-07-21T20:19:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T10:52:29.000Z (over 1 year ago)
- Last Synced: 2025-01-14T06:32:06.767Z (9 months ago)
- Topics: pyautogui, pytesseract-ocr, python3, sudoku-game, sudoku-solver
- Language: Python
- Homepage:
- Size: 352 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sudoko-Solver
[](https://www.python.org/)- This repository contains a Python script that automates the game of Sudoku and enters it automatically into the website.
- It works on 3 websites [SUDOKO.COM](https://sudoku.com/) , [LIVESUDOKO.COM](https://www.livesudoku.com/) and [USDOKO.COM](https://www.usdoku.com/)
- It uses `Pytesseract` to detect the numbers from the screenshot of the sudoko table and `Pyauotgui` to type the number's.### What steps you have to follow??
- First install the [tesseract-OCR](https://tesseract-ocr.github.io/tessdoc/Downloads.html) and ADD IT TO PATH .
- Download or clone my Repository to your device .
- type `pip install -r requirements.txt` in command prompt(this will install required package for project) .
- You should adjust the screenshot co-ordinates based on your display ratio like this .
![]()
- Just run `sudokosolver.py` file .### Project flow & explaination
- After you run the project , it'll ask you to choose the website that you opened.
![]()
- It'll automatically take the screenshot of the region and convert it into numbers
- It'll open an excel file and ask you to confirm if the detected numbers are correct , if not then change them and SAVE the file before CLOSING.
- Then the program will solve the sudoko based on the number's in the excel file.### Screenshots
### Disclaimer
The Sudoko Solver is intended for educational purposes only. The authors and contributors of this repository are not responsible for any misuse or consequences resulting from the use of this software. Use it responsibly and at your own risk.## Just follow me and Star ⭐ my repository
## Thank You!!
## Happy Sudoking!