Slay the Spire 2 patches broken RNG


Slay the Spire 2 has received a major update that adds Steam Workshop support for mods alongside a proper monster bestiary for the Compendium. It also introduces a new boss, Aeonglass, in place of the much-berated Doormaker. These are pretty juicy changes, and yet, the most intriguing part of the patch is a deceptively dry question of disobedient mathematics.

In brief, a lot of you have been narked about Neow’s Bones, an ancient relic that bestows two other relics on pick-up, alongside a random curse. The curses can be brutal. Debt, in particular, filches 10 gold from your pocket whenever you end a turn with the card in your hand.

A few players have been complaining about receiving Debt too often. One player, tckmn, went to the trouble of creating an eight hour video to support their case, roughly calculating that there’s actually a 54% chance of being saddled with Debt when you pick up Neow’s Bones. Now, Mega Crit have now given their RNG systems a once-over and concluded that, yes, tckmn is right.

“Most games, including STS2, use pseudo-random number generators (PRNGs),” explains Mega Crit’s programmer Ed Lu in a changelog. “A PRNG is fed a seed value, and given the same seed value, a PRNG will always generate the same sequence of random numbers.

“Each run has one primary ‘run seed’, a sequence of twelve numbers and letters,” he continues. “However, a run actually contains multiple PRNGs that individually influence your deck draw, your combat rewards, your event choices, and the rest of the random elements in the run. Each one uses a seed derived from the run seed.

“Since we fed different seeds to each PRNG, we expected their results to be completely unrelated. But we were wrong, and it turns out that our strategy allowed players to predict outcomes given knowledge of unrelated parts of the game.”

Lu illustrates this with a couple of graphs, which I’ve embedded below. The one with the parallel diagonal lines is the old PRNG implementation. The one that looks like white noise is the new version, “exhibiting no human-detectable correlation”.


A graph showing a fixed version of the "randomisation" system for Neow's Bones, an ancient relic in Slay the Spire 2.


A graph showing the faulty "randomisation" of Neow's Bones, an ancient relic in Slay the Spire 2.

Image credit: Mega Crit

Lu further observes that, balance ramifications aside, “once knowledge of this exploit is out there, players are naturally incentivized to use it to play optimally. We don’t want to encourage rote memorization of correlation tables, as it is tedious and unfun.”

You can find the full patch notes on Steam. I have a passing interest in the art of randomisation, myself. I’ve got a couple of card game prototypes that rely on luck of the draw, and I’m trying to work out how to structure the chaos as I add more and more to the deck. I am not yet at the level of creating graphs. Mostly, I just try to gauge how annoyed I feel at the end of each playtest. Have you read anything cool on the subject? Or played any particular games that do highly excellent things with randomisation?



Source link

  • Related Posts

    The Amazon June Audible Deal Just Got Better Ahead of Prime Day: Pay $1 Per Month Plus $20 Audible Credit

    Amazon’s June Audible deal just got better ahead of Prime Day. Both new and returning Audible subscribers can sign up for three months of Audible for just $0.99 per month…

    Pragmata’s Latest Update Includes An Adorable New Suit, Here Are The Full Patch Notes

    Image: Capcom Well, this is a lovely little surprise! Capcom has today released a new update for Pragmata, and while it’s a pretty small one, it does include an adorable…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    The Best Art TVs | WIRED

    The Best Art TVs | WIRED

    TV host in Argentina quits after falsely reporting that Lionel Messi’s dad died

    TV host in Argentina quits after falsely reporting that Lionel Messi’s dad died

    Canada’s first 700-bar commercial heavy-duty hydrogen fuelling station opens in South Delta, B.C.

    Canada’s first 700-bar commercial heavy-duty hydrogen fuelling station opens in South Delta, B.C.

    Canada midfielder Ismaël Koné undergoes surgery to repair broken leg

    Canada midfielder Ismaël Koné undergoes surgery to repair broken leg

    County Championship: Miles Hammond hits ton for Glos before Pears hit back with ball

    County Championship: Miles Hammond hits ton for Glos before Pears hit back with ball

    The Amazon June Audible Deal Just Got Better Ahead of Prime Day: Pay $1 Per Month Plus $20 Audible Credit

    The Amazon June Audible Deal Just Got Better Ahead of Prime Day: Pay $1 Per Month Plus $20 Audible Credit