Refactor Compare method in Player class