Made some modifications to player class

Not working yet