Refactor long methods in player class.