Original: Whichever team got the most points won the game.
Simplified: The team with the most points at the end of the game wins. Whichever team "wins" the jump ball gets the arrow pointed towards their goal.