gamerpuppy/sts_lightspeed — reverse-engineered prompt
Reverse engineered prompt
Build me a C++17 console simulator for Slay the Spire focused on fast tree search and combat simulation.
I want it to be playable from the terminal, and also able to run lots of random combat playouts quickly using multiple threads. It should model the game accurately enough to be useful for testing decisions, especially RNG behavior, enemies, relics, Ironclad cards, colorless cards, and out of combat progression through the acts. It should also be able to load a save file into combat and search possible choices to find the best result when the RNG state is known.
Please set it up as a standalone CMake project, with a main app for playing in the console and a separate test or tools target for running commands like random simulations. Use C++17 and make the build work cleanly with gcc or mingw on Windows. Keep the code organized so the simulator core can later be reused from bindings or other apps.
Want more depth? Deep Reverse