The code, trained networks, seed lists, per-seed results and training logs behind the paper AlphaDefect: Expert-Level AI for Slay the Spire 2 (Chen, Yu, Komiyama and Huang, November 2026). Training runs the game’s own rules headless. Cards, relics and enemies are read as entity records built from learned embeddings, game attributes and engine-computed consequences; the paper’s ablation says removing the identities stopped the agent winning any run.
Headless win rates at Ascension 10 per the README (greedy / with search): Defect 76.7 / 80.3 on v0.111.0, Regent 74.1 / 77.2, Silent 71.3 / 74.0, Fool 62.2 / 68.0 on v0.113.1, Ironclad 67.9 / 73.1, Necrobinder 63.1 / 67.6. Search is information-set tree search in boss and elite fights. In 866 runs of the released game, played through a mod on a public livestream, the networks won 645 against 642.5 expected from the headless numbers. Full game records from the evaluations are in a companion dataset repository.