extract message 'player has won the game' into Player class