Very interesting and creative idea! I do feel like the ragequit feature shouldn’t have been tied to per-turn RNG, but to player deaths. I know I wouldn’t ragequit mid-boss fight unless I died, hahaha. Placing chest and enemies, but not deciding on their contents or stats before the player reaches them was a very good idea, and gives you a good chance to adjust difficulty on the fly!
Very good job!