Result format

A result format has to be stored in a single line text field.

  • End result only: 12:34
  • End result plus individual quarters/sets: 12:34 (1:2 3:4 5:6 7:8)
  • Additional information: 12:34 ot (overtime), 12:34 ff (forfeit)
  • Dash delimiter: 12-34, 12-34 (1-2 3-4 5-6)
  • To show the winner, only the final score has to be taken into account. Thus, the same parser can be used for many different sports.

It would be possible to add validation to the scoring:

  • Individual sets in certain sports cannot exceed a certain limit, or both scores differ exactly by two points.
  • If half-time/quarter result is added, the sum of the individul results are exactly equal to the end result.
  • This may not be true for exceptional cases like forfeits.