Implement logic to win, lose, tie.