Build windows package GitHub Python Tests CodeFactor Discord
py-clash-bot is an open-source application that allows users to automate their Clash Royale gameplay on Windows using an emulated Android phone. The bot uses a combination of image recognition, mouse control, and Android emulation to perform a variety of tasks without user intervention.
Join the Discord server!


  • Automated level-up, clan wars, card requesting, card mastery, card upgrade, chest opening, and MORE!
  • Runs in the background without using mouse or keyboard input.
  • This link has a complete list of each task with descriptions.


  1. Download and install the latest version of MEmu to emulate Android.
  2. Download and run the latest Windows installer for py-clash-bot here.


  1. Run the py-clash-bot shortcut on the desktop.
  2. Click the start button to create a new emulator. Wait for the emulator to load.
  3. py-clash-bot will detect that Clash Royale is not installed. You must manually install Clash Royale on the new emulator.
  4. Start Clash Royale and complete the tutorial (takes 30 seconds). Then sign into your account using the SuperCell ID login (or use the fresh account).
  5. Set the game language to English.
  6. Restart the bot, select the desired jobs to perform, then click the Start button.
  7. Enjoy the benefits of always-on farming with the py-clash-bot taking care of the heavy lifting for you.


Game DemoGUI Demo

Artificial Intelligence Computer Vision



We welcome contributions to the py-clash-bot project. If you have an idea for a new feature or have found a bug, please open an issue on the issues tab or check out how to contribute directly.


View py-clash-bot on GitHub
© 2024 Martin Miglio and Matthew Miglio