refactor what belongs in player and in board