The end of the game condition