Next, we know where the monsters are, we know the entrances and exits, it's time to write a battle simulator! In the simulator, we sketch out a plan for further actions (the simulator must have undo/redo functions), we repeat the same actions in the game, and voila, there will be no more stupid defeats.
And what is the result? Our own casual heroes with Blackjack and other perks. It's a disgrace!