Repository navigation
BasePilot v1.0.0
First public release of BasePilot — an autopilot for your Clash of Clans base
on Google Play Games on PC. It plays the way a human does: it looks at the
screen and clicks. No memory reading, no packet work.
What's in it
- Loot farming — finds matches, deploys (Valkyries / Sneaky Goblins / Super
Minions / Edrags), collects, returns home, and recovers from popups,
disconnects, and stray screens. Builder Base farming included. - Wall upgrades — batch-buys walls once loot passes your threshold or storages
fill. Elixir-first, never spends gems, always keeps the match entry fee back. - Auto upgrade (beta) — reads the builder menu with OCR and starts upgrades
from your loot. Maxer takes the cheapest affordable upgrade and never the Town
Hall; Rusher takes the Town Hall the moment it is affordable; Dry run logs
what it would start and clicks nothing. - Run until maxed — farm → upgrade, with no time limit. When storages are full,
every builder is busy, and nothing is startable, it idles and re-checks every
5 minutes instead of attacking for nothing, then resumes on its own. - Live status panel — free builders, lab state, storages, session loot and
loot/hour, and the last upgrade decision. - Multi-account sessions, star-bonus collection runs, and ranked attack fill.
Works at any Town Hall level — detection runs on templates, OCR, and the game's
own UI signals, not hardcoded per-TH values.
Download
Grab BasePilot.exe below and run it. Tesseract is bundled inside — there is
nothing else to install. BasePilot.exe.sha256 holds the checksum for the build.
Windows SmartScreen will warn on first launch because the exe is unsigned:
More info → Run anyway.
Requirements
Windows, with Clash of Clans running in Google Play Games on PC at 16:9 or
16:10. On an ultrawide monitor, use Settings → Switch display to 16:9,
restart the game, then restore — GPG locks the aspect at launch.
Not automated yet
Laboratory research and Pet House upgrades: BasePilot tracks the lab chip and
tells you when the lab is idle, but you start those yourself. Dark elixir storage
has no "full" indicator in the game's UI, so idling keys on gold and elixir only.
Disclaimer
Automation violates Supercell's Terms of Service and can get an account banned.
This project exists for educational purposes — computer vision, OCR, and UI
automation against a real, adversarially animated target. Use a throwaway
account, or don't use it at all.