Jooi025 / BrawlStarsBot

Brawl stars bot for farming mastery in solo showdown
MIT License
132 stars 18 forks source link
bot brawl-stars brawl-stars-bot brawlstars brawlstarsbot brawlstarsmastery mastery

BrawlStarsBot

⚠️ DISCLAIMER!! You can lose trophies while using the bot!! The bot's goal is to farm mastery ⚠️

Brawl stars bot for farming mastery through solo showdown. The bot will find bushes and hide, it also attacks enemies if they are within range. Macro is integrated into the code to automate when defeated, it will queue up for another match automatically.

Info

Inspired by OpenCV Object Detection in Games Python Tutorial playlist by "Learn Code By Gaming" and "How To Train YOLOv5 For Recognizing Game Objects In Real-Time" by "Jes Fink-Jensen".

The Bluestacks app player is used to emulate Brawl Stars onto the computer and a custom Bluestacks control is used for the bot. The bot works well with tanky brawlers and on maps with little obstacles (wall, bush, fence, etc) and a lot of bush. A recommended map to run the bot on is island invasion, using short/medium range and tanky brawlers such as Frank, Sam, Buster, Pearl, Nita, etc...

Bot features

Demo of the bot

Watch the video

Requirement

How to install and run the bot?

Watch the tutorial and common error fix playlist

Clone Repo

  1. Clone the repository
    git clone https://github.com/Jooi025/BrawlStarsBot.git
  2. Install the required library
    cd BrawlStarsBot
    pip install -r requirements.txt

    Writing instruction

    Update Repo

    cd BrawlStarsBot
    git pull

    Improvement to be made

    • [ ] bot can attack power cube boxes and collect them
    • [x] improve detection of enemy (less false detect)
    • [ ] change player detection and don't need to measure HSF
    • [x] improve storm direction function
    • [x] improve the screen detection of "defeated"
    • [x] fix spam printing of "stop bot"
    • [x] improve fps for lower performance computer