=refactors evaluate_winner