documenting the Player class