Condition to End/Pause Game

What’s wrong with:

?