42 points gcmeplz 49 minutes ago 8 comments

Routine8502 23 minutes ago | parent

Extremely cool! Is there any way we can run this ourselves?

bradleybuda 18 minutes ago | parent

Fascinating stuff. I watched a couple of the videos and as the author points out, the engine's tactical play ("micro") is truly awful - a total neophyte would beat it on many micro decisions. Looking at the card / relic / event / Neow bonus choices, the engine really does not want to lose HP - my understanding is that most top players are far more comfortable with treating HP as a resource to be spent. Putting these two together: I suspect the engine is "correcting" for its bad micro by preserving HP to paper over mistakes. If the micro were improved even slightly, the Objectively Correct™ card / event / relic rankings might look significantly different.

But it plays way better than I do, so who am I to judge?

Routine8502 14 minutes ago | parent

My takeaway is that if its dogshit micro is fixed, it could get a 100% win rate (barring provably unwinnable seeds).

savanaly 13 minutes ago | parent

So is it making up for bad micro by avoiding glaring errors that humans make like missing lethal or forgetting you have a potion? Or superior deck building?

wincy 14 minutes ago | parent

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

yfontana 11 minutes ago | parent

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?

0cf8612b2e1e 8 minutes ago | parent

  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.