Amber Eye wins 90 of 100 Slay the Spire runs after a month of desktop training

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

Amber Eye is an AlphaZero-style engine that plays Slay the Spire's Ironclad at Ascension 20 with Heart kills. Trained from scratch on a single desktop over roughly a month and 13.8 million games, it won 90 of 100 sampled runs, including a 19-game streak. Its macro play mirrors strong human looping strategies, but its micro is often sloppy and its potion management is dreadful.

My first reaction when seeing the engine's gameplay was that it constantly made mistakes. My second reaction was that it wins a lot despite this, so something interesting is happening.
  1. 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 _4_ upgrades to be better than Carnage+). I reckon that the winning strategy around Searing Blow is a small, steeply-sloped optimum, so a neural network is very unlikely to find it by working up a gradient. Rather, it seems to have converged on a reliably forceable strategy (exhaust, which _is_ Ironclad's most reliably good archetype) which more or less linearly gets stronger the more you invest in it. As I recall, the player with the best Watcher win streak (at least for some time) basically did this by forcing the red-blue strategy and refusing to draft anything unrelated to it.

  2. dcl

    Absolutely awesome. Lots of important things here for those interesting in applying RL to new games/domains.

  3. 0cf8612b2e1e

    the model aims to learn to play “ideal Spire”, an abstract version of the game where random outcomes are drawn truly at random, instead of from a seeded RNG. This is the version that players generally agree is more interesting (optimally solving “real Spire” would involve reverse engineering the seed)

    Is this different from how the real game works? I thought cards games had some thumbs on the scale: instead of truly random, you might get a random sort of N items, which gets shuffled after you have seen all entries. So, randomized, but you can only every encounter so much good/bad luck.

    Edit: reading a little further, there are indeed some weaknesses in the standard gameplay randomness, so this version is slightly different.

  4. yfontana

    Super interesting read! I only played STS a little bit years ago, so the discussion of various choices went over my head. But it's quite interesting that, as far as I understand, the engine's main strength is its macro strategy, and it is strong enough at it to compensate for weaknesses in the micro. Intuitively it seems like the micro should be easier to learn (as at least some of the consequences are more direct: you lose more HP).

    I also find it pleasantly surprising that this could be trained on a single GPU in a reasonable amount of time. I don't think the exact GPU is ever mentioned though. I'm guessing it's a typical gaming GPU like a 5080, rather than something like an H100?

  5. wincy

    Slay the Spire and Slay the Spire 2 are such cool games because the .NET code is just sitting there. I play the early access beta branch of StS2 and have over 400 hours played and wanted it on the go, it took Codex Astra about one hour to get a rough port then 1.5 hours of me QA testing to get it totally playable on iPhone Duo

More from this day

2026-12-02