Implementation of getWinner (approximation)