GameLogic: Parse the end of the game