Code Monkey home page Code Monkey logo

clash_royale_bot's Introduction

clash_royale_bot

How does it work ?

The script looks for Bluestacks.exe in the list of running processes. Then, regularly (every minute now, but this is easily configurable), it checks for there are chests to open, or to start unlock.

Requirements

System

  • Windows
  • Python3
  • Bluestacks and clash royale running

Libraries

  • cv2
  • pywinauto
  • numpy
  • psutil

TODO

  • Connect back to clash royale when connection is interrupted (when connecting to clash with another device)
  • Read the time above chest so the program connects to the account only to open chests
  • Unlock little chests first, so the player have more time to connect back
  • Unlock daily gifts

Notes

  • Images in this repository are for the french version of the game, you'll have to replace them with images of the game in your own language for this to work (or put the game in french in bluestacks). If you do screenshot your images, please make a pull request so I add them to the repository

  • Size matters. The comparison algorithm doesn't like it when objects aren't of the same size. The size of the bluestacks window must be the same when you did your screenshots than when the program runs

clash_royale_bot's People

Contributors

lc-thomas avatar

Stargazers

Jakub Piasek avatar Eduardo Martins avatar Adam Spelman avatar  avatar Kevin.Y avatar Dahir Muhammad Dahir avatar Chris M avatar Pat avatar Tamir Al avatar Sai Ram avatar Wouter Stierhout avatar  avatar  avatar samy kamkar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.