Form another slightly similar game, they used a trick to avoid stupid errors. When the user clicks on a monster that would kill them, the game ignores the first click. If the moron clicks again, they die. You can implement the same trick to squares marked with a red number too. (And perhaps to upgrade or hearts when you are too healthy.)
[spoiler alert]
Most of the time you have to buy knowledge in exchange of health.
Form another slightly similar game, they used a trick to avoid stupid errors. When the user clicks on a monster that would kill them, the game ignores the first click. If the moron clicks again, they die. You can implement the same trick to squares marked with a red number too. (And perhaps to upgrade or hearts when you are too healthy.)
[spoiler alert]
Most of the time you have to buy knowledge in exchange of health.