Amber Eye: a Slay the Spire engine approaching top-level play(8e9f.github.io)
255 points by gcmeplz 3 days ago | 114 comments
tl;dr: Amber Eye is an AlphaZero-style neural network engine trained from scratch over ~1 month on a single GPU that plays Slay the Spire's Ironclad A20H, winning 90 of 100 sample games including a 19-game streak. The engine favors exhaust-based looping decks, rates Runic Pyramid and Fairy Potion extremely highly, and provides data-driven tier lists for cards, relics, and events. Key technical adaptations from AlphaZero include Gumbel search, Monte-Carlo Graph Search for transpositions, reward shaping to avoid "learned helplessness" in a single-player game, and a transformer architecture that unifies combat and non-combat decisions.
HN Discussion:
  • ~Challenges model's card evaluation, noting Searing Blow's scaling strategy the engine may misunderstand
  • ↑Impressed by the engine's macro strategy strength and surprised by training efficiency
  • ↑Shares own failed attempt at similar RL project, validating the achievement's difficulty
  • ↓Questions terminology - it's a bot playing the game, not an actual game engine
  • ↓Skeptical of 'top-level play' claim given human pro win rates are around 60%