CustomGameGenerator: Difference between revisions

From USYVL Development Wiki
Jump to navigation Jump to search
No edit summary
 
m (1 revision imported: Hopefully full import)
 
(No difference)

Latest revision as of 00:25, 21 June 2023


Custom Game Layout XML generator

First one created in 2010.

Second one created in Fall 2010. Should be capable of generating XMLs from either type of data (So far only tested with new format of data).

Various flavors of custom Game day layouts

  • multiple locations, same time
  • multiple locations, different times
  • single location, low number of courts, more time slots

All of these are potentially complicated by small sites which may have to blur divisions....

Need to look at how to display that info on the PDF...

One date per page is still OK

  • I broke down by divisions, for multiple locations, we may want use locations instead of division...
  • Should I (can I ?) make that more agnostic

Formatting and automation

Matches

  • Matches are specified as a pair of characters separated by a string:
    • usually numbers representing the team numbers of the teams in the pool/division)
    • the exception is a bye, where the second term can be a "B"
    • The separator can be either "vs", "vs." or "-" with optional whitespace on either side.

Games Numbers

Game numbers are generated automatically from 1

Court Numbers

  • Numbers, Letters, Strings or empty values can be used
  • If a court number field is not empty, that string is used.
  • If a court number field is empty, a court number is automatically generated.
    • If there is a court number from a previous line at the same time, then an attempt will be made to increment the previous value
      • This works for numbers and characters and even some strings (ie: "AA" will increment to "AB")
      • Mixed cases (ie: "A1", "2B") seem to not increment OK and could actually be left blank.