implemented getPlayerData function to set the initial player stats, Fix #86