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

    Join me in meditating on clubbing a WoW scorpion

    Join the club for quick access. Enter your email below and we’ll send confirmation, and sign you up to our newsletter. By submitting your information, you confirm you are aged…

    Continue reading
    Roman Sands Re:Build review – a fiendish immersive sim drenched in a vaporwave glitchcore palette

    A frenetic tale of two realities, both alike in dysfunction, which immerses the player in servitude and struggle. After first hearing about Roman Sands Re:Build, and following along with bits…

    Continue reading

    Leave a Reply

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

    You Missed

    CFIB report says small business confidence fell in September

    CFIB report says small business confidence fell in September

    A runaway goat damaged cars and fled police. Now he’s found his herd.

    A runaway goat damaged cars and fled police. Now he’s found his herd.

    ‘I’m not asking for anybody’s sympathy’: It’s a pivotal season for Lincoln Riley and USC

    ‘I’m not asking for anybody’s sympathy’: It’s a pivotal season for Lincoln Riley and USC

    Qualcomm’s Snapdragon Sound Elite Is A New AI Chip For Audio Wearables

    Qualcomm’s Snapdragon Sound Elite Is A New AI Chip For Audio Wearables

    Join me in meditating on clubbing a WoW scorpion

    Join me in meditating on clubbing a WoW scorpion

    How to self-enroll in Lyft Business Rewards and earn rewards

    How to self-enroll in Lyft Business Rewards and earn rewards