⚡ Currently working on version 17.477.9
An advanced automation bot for Clash of Clans featuring intelligent attack strategies, resource collection, and multi-account management.
- Dragon Attack - Powerful dragon-based raid strategy
- Electro Dragon Attack - Advanced electro dragon deployment
- Smart Troop Deployment - AI-powered troop placement
- Hero Management - Automatic hero ability activation
- Spell Casting - Intelligent rage and freeze spell usage
- ⚡ Auto-Farm - Automatic resource collection (Gold, Elixir, Dark Elixir)
- 🎮 Multi-Account Support - Manage up to 5 accounts simultaneously
- 📊 Statistics Tracking - Real-time attack stats and resource gains
- 🎪 Clan Games - Automated clan games participation
- 🏰 Clan Capital - Clan capital raid automation
- 💎 Collector Management - Smart resource collector emptying
- 🖼️ Computer Vision - Advanced template matching using OpenCV
- 🤖 ADB Integration - Full Android Debug Bridge support
- 📱 Emulator Support - Compatible with MEmu, BlueStacks, LDPlayer
- 🔄 Smart Reconnection - Automatic connection recovery
- 🎨 Modern GUI - Built with PyQt5
- Python 3.12+
- Android Emulator (MEmu, BlueStacks, or LDPlayer)
- ADB (Android Debug Bridge)
- Windows OS
opencv-python (cv2)
numpy
PyQt5
torch
torchvision
easyocr
adbutils
scikit-learn
scikit-image
# Clone the repository
git clone https://github.com/luizunc/SimplicityBot.git
cd simplicity
# Install dependencies
pip install -r requirements.txt- Install an Android emulator (MEmu recommended)
- Enable ADB debugging in emulator settings
- Set emulator resolution to 1600x900
- Install Clash of Clans on the emulator
# Run the executable
Simplicity.exeOr run from source:
python main.py- Connect Device - Select your emulator from the device list
- Load Account - Add your account credentials
- Choose Attack Strategy - Select Dragon or Electro Dragon attack
- Set Criteria - Configure attack filters (gold, elixir, trophies)
- Start Bot - Click start and let Simplicity do the work!
The bot supports two main attack strategies:
- Deploys 14 dragons in strategic pattern
- Includes balloon support troops
- Siege machine deployment
- All heroes with ability activation
- Rage and freeze spell timing
- Deploys 10 electro dragons
- Optimized for chain lightning damage
- Same hero and spell support as dragon attack
Manage multiple accounts with individual statistics:
- Gold collected
- Elixir collected
- Dark Elixir collected
- Total attacks
- Star distribution (0★, 1★, 2★, 3★)
The bot uses sophisticated coordinate-based deployment:
- Left Side Attack - Attacks from top-left corner
- Right Side Attack - Attacks from top-right corner
- Random Selection - Randomly chooses attack side each raid
- Dragons / Electro Dragons
- Event troops (if available)
- Balloons
- Siege Machine
- Heroes (Queen, King, Warden, Prince, Royal Champion)
- Rage Spells
- Freeze Spells
Track your farming progress with detailed statistics:
{
"gold": 1500000,
"elixir": 1200000,
"de": 15000,
"attacks": 150,
"stars": {
"0": 10,
"1": 30,
"2": 60,
"3": 50
}
}Edit attacks/attacks.py to customize deployment coordinates:
DRAGON_L = [
(170,384), (214,348), (246,327), ...
]Add custom templates in Templates/ folder:
- PNG format
- Grayscale recommended
- Match threshold: 0.52
- Connection Monitoring - Detects and handles connection losses
- Error Recovery - Automatic recovery from game errors
- Account Protection - Secure credential management
- Smart Delays - Human-like timing between actions
The bot includes visual recognition for:
- Troop tabs (dragons, balloons, heroes)
- Spell tabs (rage, freeze)
- Game states (loading, battle, home)
- Resource collectors
- Clan features
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This bot is for educational purposes only. Use at your own risk. The developers are not responsible for any bans or penalties from Supercell. Using bots violates Clash of Clans Terms of Service.
If you find this project helpful, please give it a ⭐ star!
#clashofclans #coc #bot #automation #python #opencv #gaming #farmbot #clash #supercell #android #adb #ai #computervision #gamebot #mobilebot #emulator #pytorch #machinelearning #cocbot #clashbot #autofarm #gaming-automation #python-bot #opencv-python #pyqt5 #gui-application #multi-account #resource-farming #attack-strategy