← Wed, Dec 2 digest

Amber Eye: a Slay the Spire engine approaching top-level play

read article ↗ hn thread ↗

Amber Eye, an AlphaZero-style reinforcement learning engine trained on a desktop computer, achieves a 90 percent winrate on Slay the Spire Ironclad A20H runs.

read it Offers deep technical insights into adapting AlphaZero-style reinforcement learning for a complex, stochastic single-player game with long time horizons.

summary

A developer trained an AlphaZero-style reinforcement learning model from scratch on a desktop GPU for a month to play Slay the Spire. Using a custom high-performance simulator and Gumbel search, the engine achieved a 90 percent winrate across 100 sample A20H Ironclad runs despite poor tactical micro. The project provides unique empirical data on optimal card, relic, and pathing choices derived from millions of self-play games.

key points

  1. Trained from scratch on a single desktop GPU over one month, leveraging a custom high-speed game simulator to play 13.8 million games.
  2. Uses Gumbel search and double progressive widening to manage stochastic outcomes and hidden information without relying on seeded RNG.
  3. Achieves a 90 percent winrate despite poor tactical micro, demonstrating that high-level macro strategy dominates at the game's highest difficulty.

who should read it

Machine learning engineers, reinforcement learning researchers, and advanced Slay the Spire players interested in computational game strategy.

discussion warm

consensus

Commenters are fascinated by how strong macro strategy compensates for terrible tactical micro, highlighting that macro choices dominate high-level Slay the Spire play.

pushback

Some debate whether the model's low rating of Searing Blow reflects a fundamental neural network gradient blind spot or accurate high-level valuation.

best comment by b450 ↗

A lot to take in here. One interesting random observation: The model rates Searing Blow as the worst card. The key with Searing Blow is that each upgrade gives it a larger marginal improvement than the last one. So the best strategy is generally to path towards upgrades and put them all on Searing Blow, avoiding too many dangerous elite encounters while scaling it up, and ending up with a card that can kill nearly everything short of the heart in 1 or 2 hits. Without maxing it out, Searing Blow might soak up several precious upgrades and still remain a mediocre attack (it notoriously needs …

Provides a concrete mathematical hypothesis for why gradient-based models fail to discover narrow, high-investment strategies like Searing Blow.

Generated by an LLM from the article and thread. Check the sources before relying on it.