Working get-horizontal-winner function, thanks to Mary