https://github.com/dolphywind/sudoku-automate
https://github.com/dolphywind/sudoku-automate
android sudoku-solver
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dolphywind/sudoku-automate
- Owner: DolphyWind
- License: mit
- Created: 2020-08-31T22:34:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T22:40:10.000Z (almost 3 years ago)
- Last Synced: 2025-03-29T06:42:49.898Z (over 1 year ago)
- Topics: android, sudoku-solver
- Language: Python
- Homepage:
- Size: 504 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sudoku Automate
This bot is designed to solve the Android game "Sudoku - Classic Sudoku Puzzle" created by "Kiduit Lovin". I have made efforts to make it compatible with various phone models and different Sudoku games. However, please note that I haven't extensively tested it with all setups.
Upon running the script, if the board data file is not found, the bot will prompt you to provide the top-left coordinates of the first square, the coordinates of the first answer button, and the horizontal distance between two consecutive answer buttons. For this reason, if it's your first time running the program, I recommend using debug mode. This can be enabled using the -d or --debug options. In debug mode, the images that program obtains are saved into a folder called `debug`.
After asking you these questions the program will gather other board information and saves all data it has about the board into a file called `board_data.json`. As long as that file is present, It wont ask you any questions if you run the script in the future. Also, you can change the board data filename using the `-bd` or `--boarddata` options.
This script is also designed to be embedablity in mind. You can use this script into another script without any problem.
To run the program, please ensure that you have all of the necessary python libraries and a running ADB server. If you don't know what ADB is please visit [this](https://developer.android.com/tools/adb) website. Then run the `sudoku_automator.py` with `python`.
To download the game, click [here](https://play.google.com/store/apps/details?id=easy.sudoku.puzzle.solver.free).