The game changes state when the level is finished and when all players lose.