Using adb, this program
- Asks the user the wanted gold and elixir (summed)
- Starts searching
- Skips until it sees a village fulfilling the requirements
- Plays a sound effect once it finds one
It does it by taking a screenshot of the device, sending it to the computer and processing it using the Tesseract OCR engine.
To use it, adb and Tesseract need to be installed, and the constants on top of the main file need to be changed according to your screen resolution and aspect ratio.
This program is only made for Linux and has not been tested on other platforms.
Works just as well with wireless adb too!
Install the rust toolchain first, then:
bash
sudo apt-get install tesseract-ocr libtesseract-dev libasound2 libsdl2-dev clang build-essential pkg-config -y
git clone https://github.com/Eldolfin/COC-autoskip.git && cd COC-autoskip
cargo run --release
- Add tests
- Pass images to OCR without saving them on the disk
- Add better logging, showing stats
- Comment code parameters
- Add desktop notifications
- Add emojis and terminal colors
- Run Jenkins tests using the docker image
Spending less time playing, instead watching the computer play for you🗿
Made with ❤ in Rust 🦀 btw