https://github.com/darthwalsh/autononogram
App that automated solving a Nonogram app
https://github.com/darthwalsh/autononogram
android monkeyrunner
Last synced: about 2 months ago
JSON representation
App that automated solving a Nonogram app
- Host: GitHub
- URL: https://github.com/darthwalsh/autononogram
- Owner: darthwalsh
- License: mit
- Created: 2020-10-25T05:19:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-23T19:54:56.000Z (about 3 years ago)
- Last Synced: 2025-01-22T20:51:17.326Z (3 months ago)
- Topics: android, monkeyrunner
- Language: C#
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutoNonogram
A dotnet core [CLI `ANG`](ANG/) and WinForms [`GUI`](GUI/) that automates solving some [Nonogram](https://en.wikipedia.org/wiki/Nonogram) Android app.
The [`Parser`](Parser/) library converts images to a `Puzzle` object, which the [`Solver`](Solver/) solves by looking at independent rows and columns.
An [ADB client `Phone`](Phone/) takes screenshots `adb exec-out screencap` and rapidly taps. Instead of directly invoking `adb input tap` (the `input` command was taking about a second for each execution on the phone), [use MonkeyRunner Jython](https://stackoverflow.com/a/64635529/771768) for tapping. Sending messages to the Jython process using stdin/stdout [wasn't working](https://stackoverflow.com/a/64634081/771768), so communicate over HTTP requests with the [`MonkeyTapper` server](MonkeyTapper/).