Added check for the game result in the player