refactor players in game client