A solution for optimizing ranked drafting sequences in the mobile game Brawl Stars by Supercell.
- 🎯 Optimized drafting sequences for competitive play
- ⚡ Real-time analysis and suggestions
- 📱 Responsive, mobile-friendly interface
- 🤖 AI-powered decision making
- 🔄 Regular updates based on meta/balance changes
Free usage at brawl-ai.com
- Node.js (v18 or higher)
- Python 3.8+
- PostgreSQL (optional, for training)
- Brawl Stars API key
- Clone the repository
git clone https://github.com/ANDI-neV/brawl-ai.git
cd brawl-ai
- Set up configuration, create
config.ini
inbackend/src
:
[Credentials]
api = YOUR_API_KEY
- Install dependencies:
# Frontend
cd frontend
npm install
# Backend
cd ../backend
pip install -r requirements.txt
- Start the application
# Run frontend
npm run dev
# Run backend
python src/web_server.py
The project includes a pre-trained model at backend/src/out/models/ai_model.pth
(model will be regularly updated in relation to new updates/balance changes), but you can train your own:
- Set up database configuration in
config.ini
(and adjust URL parameters/database loading according to your setup)
[Credentials]
username = YOUR_USERNAME
password = YOUR_PASSWORD
host = YOUR_HOST_URL
database = YOUR_DATABASE_NAME
api = YOUR_API_KEY
- Create the required tables in the database (
battles
andplayers
) - Feed the database with and adjust parameters to your liking:
python src/feeding.py
- Configure training parameters in
ai.py
- Run the training script:
python src/ai.py
GPLv3
- Brawl Stars API for providing game data
- BrawlAPI for providing high-quality images for brawlers and maps