Give a big warning that the level's failed if a $ gets blown up. Don't, though, actually do a game-over failure. It can be useful to open a path with a level-failing move and then do experimental work beyond it, as a learning tactic. So, let the player carry on, but put up a big notification that the player has failed the level.