Jaasssoooonnnnn/FirstLight-Zero
Jaasssoooonnnnn/FirstLight-Zero has 20 GitHub stars and 3 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-14 00:19 UTC. Last push 2026-11-04.
Gemessener Sternzuwachs
- in 24h
- +1
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
AlphaZero-style self-play Clash Royale. It beats a human-data imitation model
Maschinelles LernenREADME.md
Original
FirstLight Zero
A small Clash Royale model that learned the 3.0 X-Bow mirror from self-play alone, with no human data.
English · 简体中文
Training history · Training metrics · Getting started · Architecture · Evaluation · Model
Every strong Clash Royale AI I know of starts from human replays. I wanted to see whether a model could get there without them, so this one started from random weights and only ever played against itself and its older versions. Nobody told it what the deck does.
After 1,450 training rounds, the 1.17M-parameter model beats a 16.8M-parameter imitation model that was trained on 193,530 top ladder games.
Results
40 games, in the X-Bow mirror at level 11. checkpoints/ holds every 50th version from v50 to v1500; v1450 is the one to use.
| Opponent | Size | Trained on | Our version | Win rate |
|---|---|---|---|---|
| IL Model Everlight | 16.8M | 193,530 human games | v1460 | 97.5% |
It was never part of training. The training history has the whole curve and how the model's play changed version by version.
What's here
| Path | Contents |
|---|---|
firstlight_zero/ |
Training and evaluation: features, model, collectors, inference servers, PPO learner, sweeps and round robins |
native_runner/ |
The battle environment layer, trimmed from FirstLight CR, with the probe source in native_runner/probe/ |
tools/ |
Evaluation servers, tactics analysis, replay export and replay checks |
checkpoints/ |
Every 50th version, firstlight-zero-v50.pt to firstlight-zero-v1500.pt |
docs/ |
The guides linked above |
Quick start
You need Python 3.12, a GPU for training, and native battle engines for version 15.535.13. This repository doesn't include the game client. FirstLight CR has the full stack for building an engine from a client you supply: probe, APK tools, environment and a training guide. Getting started lists exactly what this code expects.
pip install -r requirements.txt
python tests/test_consistency.py # needs no engine
cp engines.example.json engines.json # one entry per engine process
python firstlight_zero/launch.py prepare --run runs/first
python firstlight_zero/launch.py start --run runs/first > runs/first/supervisor.log 2>&1 &
python tools/status.py runs/first
To train with different settings, pass --set to prepare. To evaluate the included model, see Use the pretrained model.
Acknowledgements
Thanks to daybreak-cr. Its asynchronous training framework inspired the one here, which made my PPO training throughput 1.5 times faster than before.
License
FirstLight Zero is an independent offline project under Apache-2.0, unaffiliated with Supercell. It doesn't distribute the game or its resources and doesn't connect to official servers. See NOTICE.
Ähnliche Projekte entdecken
tensorflow/tensorflow
Ein Open-Source-Framework für maschinelles Lernen für alle
201,591 Sternehuggingface/transformers
🤗 Transformers: das Framework zur Modelldefinition für State-of-the-Art-Modelle des maschinellen Lernens in Text, Vision, Audio und multimodal, für Inferenz und Training.
168,951 SterneAUTOMATIC1111/stable-diffusion-webui
Web-UI für Stable Diffusion
165,306 SterneComfy-Org/ComfyUI
Die leistungsstärkste und modularste GUI, API und das Backend für Diffusionsmodelle mit einer Oberfläche aus Graphen und Knoten. Die schnellste lokale Inferenz-Engine der Welt.
146,694 Sterne