lots of musicposting!!! mostly rock and metal

My last.fm page, @filenine! These are my 5 most recently played songs!


cohost (teehee!)
cohost.org/filenine
going to brazil?
youtu.be/MhtbZ9uZ9_I

fullmoon
@fullmoon

One thing I've been wanting to do for a while is to create a bunch of Slay the Spire "puzzles". These are essentially snapshots of the game where the puzzle solver needs to deduce the "best" play according to certain constraints.

One type of puzzle challenge might be "find the statistically optimal play" where there is one way to play that is unambiguously superior (statistically) to all other possible plays.

For example, consider this situation:

Screenshot of the Watcher facing off against a Cultist on turn 1

Screenshot of the Watcher's deck

If you ignore the Incense Burner1, there is an optimal way to play this fight which loses on average ¹⁄₆₀ HP:

Out of all those possibilities, only one of those branches takes any damage, which is the branch where you draw:

Turn 2: 2 Strikes and 3 Defends
Turn 3: 4 Defends

That sequence of draws takes 7 damage, but it's also an extremely rare outcome (only a ¹⁄₄₂₀ chance of happening), so the average amount of HP you lose is ¹⁄₆₀.

All other possible plays lose more life on average, so this is the statistically optimal play.


  1. If we add in the Incense Burner then things get more complicated because we might want to delay the fight to charge up the incense burner so that it triggers earlier in the next fight. However, in practice the optimal play would likely still be the same; it would just be extraordinarily hard to provide a mathematically clean proof for why.


You must log in to comment.

in reply to @fullmoon's post:

Pinned Tags