using constructor and player prototype
moved common properties into prototype & added name property