check someone is winning first
move the deuce condition in the check that there's no leading player
check for winning player first and exit if there is adv or outright winner
move the check for deuce etc. when there is no leading player into else block
just return, no need for storage in variable