]> git.sesse.net Git - ultimatescore/blob - config.js
50ff0b8b5b4b9a8751eec0feb9ae857ac690efd4
[ultimatescore] / config.js
1 var ultimateconfig = {
2         'tournament_title': 'Trøndisk 2019',
3         'tournament_footer': 'www.plastkast.no | #trøndisk',
4         'exohack': false,
5
6         // Share both sheets with ultimate-nm-2018@solskogen-cubemap.iam.gserviceaccount.com.
7         'score_sheet_id': '16TOrQX-oOhuxSA478iE8h3l3CD72GyEqVsChZptayxo',
8         'score_sheet_index': 1088951921,  // #gid= in the URL.
9         'roster_sheet_id': '1ACCrWaicEOFbeoY05SCbCvk2cHF6yAS9WwFOdNJxMIU',
10         'api_key': 'AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU',
11
12         // Rank, name, points.
13         'score_sheet_cols': {
14                 'Group A': [ 'Results!S', 'Results!T', 'Results!U' ],
15                 'Group B': [ 'Results!W', 'Results!X', 'Results!Y' ],
16                 'Group C': [ 'Results!AA', 'Results!AB', 'Results!AC' ]
17         },
18
19         'point_total_start_row': 8,
20         'ranking_list_start_row': 15,
21         'ranking_list_explain_row': 21,
22         'explain_third_cell': 'Results!S26',
23
24         'playoff_games': [
25                 // Teams                        Field   Row    Match name     Mark name    Group name
26                 [ 'C5',          'A4',          0,      0,     'C5/A4',       false,       'Playoffs 9th–13th' ],
27                 [ 'B4',          'C4',          1,      0,     'B4/C4',       false,       'Playoffs 9th–13th' ],
28                 [ 'A4',          'B4',          0,      2,     'A4/B4',       false,       'Playoffs 9th–13th' ],
29                 [ 'Z3',          'C5',          1,      2,     'Z3/C5',       false,       'Playoffs 9th–13th' ],
30                 [ 'C4',          'Z3',          0,      7,     'C4/Z3',       false,       'Playoffs 9th–13th' ],
31                 [ 'C5',          'B4',          1,      7,     'C5/B4',       false,       'Playoffs 9th–13th' ],
32
33                 [ 'C1',          'B2',          0,      8,     'C1/B2',       false,       'Quarterfinals'     ],  // Q1
34                 [ 'A1',          'Y3',          1,      8,     'A1/Y3',       false,       'Quarterfinals'     ],  // Q2
35                 [ 'A2',          'C2',          0,      9,     'A2/C2',       false,       'Quarterfinals'     ],  // Q3
36                 [ 'B1',          'X3',          1,      9,     'B1/X3',       false,       'Quarterfinals'     ],  // Q4
37
38                 [ 'C4',          'C5',          0,     10,     'C4/B5',       false,       'Playoffs 9th–13th' ],
39                 [ 'Z3',          'A4',          1,     10,     'Z3/A4',       false,       'Playoffs 9th–13th' ],
40
41                 [ 'W C1/B2',     'W A1/Y3',     0,     11,     'Semi 1',      true,        'Semifinals'        ],
42                 [ 'L C1/B2',     'L A1/Y3',     1,     11,     'L-semi 1',    true,        'Playoffs 5th–8th'  ],
43                 [ 'W A2/C2',     'W B1/X3',     0,     12,     'Semi 2',      true,        'Semifinals'        ],
44                 [ 'L A2/C2',     'L B1/X3',     1,     12,     'L-semi 2',    true,        'Playoffs 5th–8th'  ],
45
46                 [ 'B4',          'Z3',          0,     13,     'B4/Z3',       false,       'Playoffs 9th–13th' ],
47                 [ 'A4',          'C4',          1,     13,     'A4/C4',       false,       'Playoffs 9th–13th' ],
48
49                 [ 'W L-semi 1',  'W L-semi 2',  0,     14,     '5th',         true,        'Match for 5th'      ],
50                 [ 'L L-semi 1',  'L L-semi 2',  1,     14,     '7th',         true,        'Match for 7th'      ],
51                 [ 'L semi 1',    'L semi 2',    0,     15,     '3rd',         true,        'Bronze final'       ],
52                 [ 'W semi 1',    'W semi 2',    0,     16,     'Final',       true,        'Final'              ]
53         ],
54         'playoff_games_start_row': 19,
55         'playoff_games_cols': [
56                 [ 3, 4, 5, 6 ],
57                 [ 8, 9, 10, 11 ],
58                 [ 13, 14, 15, 16 ],
59         ]
60 };