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.
People normally don't know about it, and the ones that read about it use a mod to patch it out, because the point of the game is obviously not to learn the pseudo RNG by heart. But of course a neural network would start to exploit this very quickly because it can't tell the difference between what's a "real" game mechanic and what isn't.
HN Discussion of the above: https://news.ycombinator.com/item?id=48552844
As far as I know it was discovered after the full release. They may not have wanted to break old seeds.
And its pretty trivial to benefit from once you learn some of the rules. For example if your first combat is not a Cultist, your first mystery room is always an event.
1. the game UI displays the seed of the run. so, combined with full white box knowledge of the game's code, you should be able to reconstruct the current rng state of the game & deterministically predict what the various rng-based outcomes will be, without save loading. this goes completely against the intended experience of the game.
2. with full white box knowledge of the game's code, even if you didn't know what seed you were playing, perhaps it is possible - after enough observations during a run - to infer the game's rng state, say for draw order? no idea if this is actually plausible but I believe similar attacks to infer rng state have been done successfully in the past - e.g. against early online poker implementations that seeded their rngs in a weak & predictable way.
edit: there are also issues with correlated rng, where a weakness in how individual rngs are seeded & how the rng state depends upon the seed means that different rngs used for different game functions that the devs intended to be independent are actually heavily correlated with each other. here's a great writeup of the issue for sts2 (in early access) that was fixed by the devs a few months ago: https://tck.mn/blog/correlated-randomness-sts2/
This is unlike correlated randomness, which as you've noted is a real problem that many players have used mods to correct.
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?
If you tune into a random Baalorlord stream you're likely to see him go "oh cool this is a synergy I haven't explored so I'm gonna take that card" (It's extreme at the moment while StS2 is in beta but it happened on StS1 too) whereas people streaking are doing their utmost to minimise chances of a loss.
But it plays way better than I do, so who am I to judge?
The irony is that this makes quite clear that the "game" in StS is primarly the macro and the micro is a bit of an illusionary hamster wheel that could be elimiated without ruining the game. The game Guilderun proves this hypothesis to some degree.
Seeing this makes me think I could pretty drastically change my macro strategy.
It's very different from an RTS, where time can either be spent on micro or macro.
I watched for a bit and I saw the bot pass the turn twice with energy and an attack to play. I can't prove it, but there must be draw orders where the player takes unnecessary damage in the fight I watched.
I guess the bot isn't trained enough or the training methodology causes it to get stuck on something. I don't think this is a good example of a neural net learning a useful lesson, it's just a quirk.
https://www.youtube.com/watch?v=V1uVBcM0eJY&list=PLBt3ZH12eK...
This is funny because if you roll a Regal Pillow or Miniature Tent early on you can play a LOT more aggressively and skip block cards, as you recover more HP through the run.
I saw it play strike before bash on the first floor, losing 1 HP, and the author described it misplaying the heart fight. However, its micro in the rest of the run seemed really good, and I saw it do some clever stuff with fire breathing.
The top picked neow bonuses include losing hp and max hp though. Im not sure why you are saying this.
I take your word on macro vs micro. That is very interesting and surprising. Im surprised it can make it very far like this.
edit: I watched a small amount of play and the micro did not seem poor or mediocre. Small sample size admittedly. But I wonder if it's poor micro play is being overstated.
You could probably do equally well if you optimized for boringness.
You'd probably question your sanity then.
This is true in a competitive sense.
It is not true in a general sense.
Most people play games to optimize for fun...
For example, a top player can run into 5 elites (hard enemies) in a row on Ironclad, who is the character that heals after every fight. If I do that, I die horribly, so I don't. But that's because I make small mistakes in fights that lead to HP loss (micro) and pick cards suboptimally (deckbuilding). So I decide to not run into 5 elites (macro), which is actually good macro, but strictly worse than what a top player can do. So as you get better at micro and deckbuilding, you have to change your macro drastically. And the other way around too of course, all three influence the other two.
Also works in co-op, i.e. you can add it as a team-mate. There's also a mod available on steam workshop, but mods are currently in a review queue so you'll have to wait a few days to find it there unfortunately.
Sort of unrelated, but I've made comments about how Slay the Spire 1 decks could take on the nightmare that is Dread Act 3 in STS2, and I've been lambasted for this.
I'm sure it's not that hard to do a deeper statistical analysis, but I've been saying, you just see a lot of really good cards in 1 and win. 2 is much more about value piling, which was sufficient until A10. Dread forces you to have good decks, but you often don't get offered the broken synergies as much.
I play exhaust ironclad in dread maybe once in 4 wins at this point, it just does not show up as much. Which can be seen as a good or bad thing - deck diversity etc.
Which is not to say one game is easier than the other (though I think Dread > A20H right now, not for good reasons). However, the peak and frequency of OPness of STS1 decks is not to be understated.
Instead I think players just don’t like all of a sudden committing to a different play style. Also consider that it doesn’t really make sense to take past the first few floors so it’s usually just not an option.
It rates "War Paint" really low too for example.
You can say "well then it should change the other aspects of its playstyle" but... have you got an A20H winstreak of 19?
Basically any difference between your perception of the game and this model's should be modelled as "I can learn something from this model", not "this model is doing something wrong".
Perhaps the model sees the cost is not worth the benefit?
As a mathematical aside, this is why optimisation algorithms (of real/complicated systems) often incorporate randomness, in order to avoid being stuck in local minima.
But if I'm testing myself and trying to beat the Heart on A20 once again, I'm nearly guaranteed to skip it.