Game 080 — Self-Healing Mini-Game

New concept: state validation + automatic recovery to safe defaults

Sometimes state becomes inconsistent (bugs, stale saves, weird inputs). This mini-game detects invalid state and “self-heals” back to a safe baseline.

HP
10
Coins
0
Heals
0
Status
OK
Click “Corrupt State” to simulate a broken save, then watch the self-heal.

What’s different from last game?

You finish this set by making games robust: detect bad state and recover gracefully.

Optional challenge variants

    Tips

    Open DevTools → Console to see helpful logs. Try changing constants at the top of the script.