Implemented struct player to facilitate access