GithubHelp home page GithubHelp logo

fanzhuyifan / clashroyalebuildabot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pbatch/clashroyalebuildabot

0.0 0.0 0.0 329.4 MB

A platform for creating bots to play Clash Royale

License: MIT License

Python 100.00%

clashroyalebuildabot's Introduction

Clash Royale Build-A-Bot

All Contributors

PyPI version

Build your own bot to play Clash Royale

demo

Description

We present an advanced state generator, which is accurate and returns a lot of information. It uses:

  • YOLOv5 to infer the units and numbers
  • Image hashes to detect the cards
  • A simple function of the pixels to deduce the elixir

detector

With a more powerful interpretation of the state, we can start to build bots that can make intelligent decisions.

Getting Started

  • Setup your environment and the emulator.

  • Try the basic bot building tutorial.

  • Learn how the state is generated.

Releases

  • 1.1.0
    • Moved to bigger Yolov5 model.
    • Predict 'ally/enemy' separately from the unit (Doubles training data + fewer classes to predict).

Roadmap

  • Improve flaws of PeteBot (Placement, elixir management, etc.).
  • Label more images, of more diverse cards, so that more decks can be played.
  • Add a layer that operates on the object detection output to produce more reliable unit predictions. (I.e. Tracking units over time).
  • Add a basic Q-learning tutorial.
  • Add a basic imitation learning tutorial.
  • Publish the YOLOv5 training notebook.
  • Add the ability to open chests and upgrade cards.
  • Publish a leaderboard of the best bots made with the repo.
  • ... Your next big idea?

Community Creations

Hog2.6Cycle

Hog 2.6 Cycle Bot by OwenKruse

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Link

๐Ÿ”ฃ

Emgimeer-Bazder

๐Ÿ›

Gavrilovici Eduard

๐Ÿ“– ๐Ÿ’ป

Nyantad

๐Ÿ›

OwenKruse

๐Ÿ“– ๐Ÿ”ฃ ๐Ÿ’ป ๐Ÿ’ก

Martin Miglio

๐Ÿ’ป ๐Ÿ“– ๏ธ๏ธ๏ธ๏ธโ™ฟ๏ธ ๐Ÿ’ก ๐Ÿ““

Ankush Sethi

๐Ÿ›

adl212

๐Ÿ› ๐Ÿ”ฃ

This project follows the all-contributors specification. Contributions of any kind welcome!

clashroyalebuildabot's People

Contributors

pbatch avatar martinmiglio avatar allcontributors[bot] avatar owenkruse avatar adl212 avatar gavrilovicieduard 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.