Project notes · 07

One graphics card, one AI that plays Slay the Spire 2

Always wondering how to play Slay the Spire 2 better, I trained a reinforcement-learning AI from scratch on a single RTX 5060. It now wins more than 24% of runs.

Slay the Spire 2 reinforcement learning · A PPO agent that plays full runs

Why I did it

When I play Slay the Spire 2 I keep wondering how to play better: whether to take a card, which path to take next. Rather than testing it one run at a time myself, I wrote a reinforcement-learning AI to play on its own and scout the way for me.

How

I built a reinforcement-learning agent on PPO and trained it entirely from scratch, using a single RTX 5060 for the whole run.

Today

It now wins more than 24% of its runs.