[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116588":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},116588,"RoyaleFish","fabiospalla9-tech\u002FRoyaleFish","fabiospalla9-tech","Open, community-driven Clash Royale AI: like Stockfish, but for Clash Royale. Offline training and models.",null,"Python",73,15,1,0,4,16,21,61.21,"Apache License 2.0",false,"main",true,[],"2026-11-22 19:14:30","2026-11-23 07:51:02","# RoyaleFish\n\nA Clash Royale AI built from scratch by an independent developer. The idea is simple: something like Stockfish, but for Clash Royale. A strong engine that anyone can download, play against offline and study.\n\nEverything runs offline, in a local simulation.\n\n## New model in training (21 Nov 2026)\n\n**A new Hog 2.6 model is being trained from zero.** It does not start from any previous checkpoint.\n\n- **About 12 million parameters.** A transformer that sees every troop and building on the arena, its own hand, elixir and the towers.\n- **Memory of the whole match.** Every card played by both players since the start, with where and how long ago, so it knows the opponent's cycle.\n- **Human reaction time.** It sees the arena with a 1 second delay, like a real player. Its own hand and elixir are always up to date.\n- **Imitation learning first**, on **7,652 winning Hog 2.6 games** from real players. The replays are rebuilt in the open-source RoyaleSim simulator, which converts all of them in about 3.5 minutes.\n- **Reinforcement learning next**, against a generalist sparring model and against its own older versions, with regular test games in the real offline engine.\n\n**It will be published here once it is strong enough.**\n\n## Models\n\n| File | Deck | Card data | What it is |\n|---|---|---|---|\n| `models\u002FA-hog26-v995.pt` | Hog 2.6 | 16.635 | Latest model of the previous generation (offline). |\n| `models\u002FA-hog26-v1881.pt` | Hog 2.6 | 16.635 | Previous release, strong defender. |\n| `models\u002FB-general-v275.pt` | many decks | 16.635 | Generalist sparring partner. |\n\nThese are recurrent V4 actor-critic models (about 17M parameters) and load with `load_policy_v4` from the V4 framework (see Requirements). Run every model on the same 16.635 card data (`data_16635\u002F`), otherwise one side sees the wrong cards and comparisons mean nothing.\n\n## Requirements\n\n- Python 3.12 with PyTorch and a CUDA GPU.\n- The open-source V4 framework listed in `NOTICE`. The `royalefish\u002F` package imports its `native_runner` modules.\n- **A native battle engine, which you have to supply yourself.** This repository does not include any game binaries, resources, modified clients or engines, and never will.\n\nSource changes for a 16.635 engine (source code only, no game files): `patches\u002Fnative_runner_16635.diff`, `patches\u002Fprobe_x86_64_16635.diff` and the card tables in `data_16635\u002F`.\n\n## License\n\nApache-2.0. See `LICENSE` and `NOTICE`. Not affiliated with, endorsed by, or representative of Supercell.\n\n---\n\n## ⛔ NOT FOR RANKED, LADDER OR ANY ONLINE PLAY\n\n> [!CAUTION]\n> **RoyaleFish must never be used in the real game.** Not in ladder, not in Path of Legends, not in tournaments, not on any account, for any reason.\n>\n> - It is a **research project**: it plays only offline, in a local simulation, against other models or against you.\n> - Using an AI to play ranked games for you is **cheating**. It ruins the game for real people who are playing fair, and it breaks Supercell's Terms of Service.\n> - **I do not support it, I condemn it, and I take no responsibility** for anyone who tries.\n>\n> **If I find out that this AI is being used to climb the ladder (with the 2.6 or anything else), the project goes private for good.**\n\n### Do not contact me for:\n\n- **paying me** for models, accounts, boosting or anything else;\n- **the game engine** (it is not mine to share and it will not be shared);\n- **tools that read a phone's memory or play on a real device** in place of a player.\n\n**Messages like these will be blocked and reported.**\n","RoyaleFish 是一个开源、社区驱动的《皇室战争》离线AI引擎，旨在为玩家提供可本地运行的智能对战与策略研究工具。它基于Transformer架构构建，支持全局比赛记忆、1秒延迟模拟人类反应，并采用模仿学习与强化学习结合的方式训练；所有模型均在本地仿真环境（RoyaleSim）中运行，不依赖在线游戏客户端。项目适用于卡牌策略分析、AI算法研究、离线陪练与战术复盘等场景，强调合规性与学术用途，严禁用于任何线上竞技。",2,"2026-11-24 04:53:57","CREATED_QUERY"]