modify the player class for next work

modify the player class for next work