refactor
player class ok