Slay the Spire 2 Code Review: Netcode, Cards Shuffling, Architecture
2026 · PC Game · PC Game
Slay the Spire 2 Code Review: Netcode, Cards Shuffling, Architecture
Slay the Spire 2 Code Review: Netcode, Cards Shuffling, Architecture
2026
PC Game
A code review of the reverse-engineered C# code of Slay the Spire 2. Fisher-Yates algorithm for cards shuffling, cards draw logic, proper netcode for perfect sync, QA bot, C# code architecture, Godot scenes .. and much, much more! 🆇 LINKS 🆇 1) My Patreon - https://www.patreon.com/c/priler 2) My mods - https://www.nexusmods.com/profile/Priler/mods 3) My github - https://github.com/Priler Like, subscribe, ring a notification bell :3 ❤️ Thanks for the support! [!] Important Note: The code shown in this video was obtained through reverse engineering using Visual Studio software, which provides this functionality as an officially supported feature. It does not represent the original source code created by Mega Crit, but a decompiled version for educational and research purposes only. Chapters: 0:00 Intro 1:00 Inspecting Godot scenes 2:06 Code statistics 2:58 Cards shuffling & Drawing code 5:06 Fixing infamous StS2 exploit 7:19 Autoslayer 8:33 Scripted Events 9:26 Netcode 12:10 Thanks for watching!