extract method hasWonTheGame to Player