]> git.sesse.net Git - ultimatescore/blob - config.js
Add a comment about what “Mark game” means.
[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         'roster_sheet_id': '1ACCrWaicEOFbeoY05SCbCvk2cHF6yAS9WwFOdNJxMIU',
9         'api_key': 'AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU',
10
11         // Rank, name, points.
12         'score_sheet_cols': {
13                 'Group A': [ 'Results!S', 'Results!T', 'Results!U' ],
14                 'Group B': [ 'Results!W', 'Results!X', 'Results!Y' ],
15                 'Group C': [ 'Results!AA', 'Results!AB', 'Results!AC' ]
16         },
17
18         'point_total_start_row': 8,
19         'ranking_list_start_row': 15,
20         'ranking_list_explain_row': 21,
21         'explain_third_cell': 'Results!S26',
22
23         'playoff_games': [
24                 // Teams                        Field   Row    Match name     Mark name    Group name
25                 [ 'X5',          'Y5',          0,      0,     'X5/Y5',       false,       'Playoffs 13th–15th' ],
26
27                 [ 'X1',          'Y2',          1,      0,     'X1/Y2',       false,       'Quarterfinals'      ],  // s1
28                 [ 'X2',          'Y3',          2,      1,     'X2/Y3',       false,       'Quarterfinals'      ],  // s3
29                 [ 'Y1',          'Z2',          1,      1,     'Y1/Z2',       false,       'Quarterfinals'      ],  // s4
30                 [ 'Z1',          'X3',          0,      1,     'Z1/X3',       false,       'Quarterfinals'      ],  // s2
31
32                 [ 'X4',          'Z3',          0,      2,     'X4/Z3',       false,       'Playoffs 9th–12th'  ],
33                 [ 'X5',          'Z5',          1,      2,     'X5/Z5',       false,       'Playoffs 13th–15th' ],
34                 [ 'Y4',          'Z4',          2,      2,     'Y4/Z4',       false,       'Playoffs 9th–12th'  ],
35
36                 [ 'W X1/Y2',     'W Z1/X3',     0,      3,     'Semi 1',      true,        'Semifinals'         ],  //
37                 [ 'L X1/Y2',     'L Z1/X3',     1,      3,     'L-semi 1',    true,        'Playoffs 5th–8th'   ],
38                 [ 'W X2/Y3',     'W Y1/Z2',     0,      4,     'Semi 2',      true,        'Semifinals'         ],
39                 [ 'L X2/Y3',     'L Y1/Z2',     1,      4,     'L-semi 2',    true,        'Playoffs 5th–8th'   ],
40                 [ 'Y5',          'Z5',          2,      4,     'Y5/Z5',       false,       'Playoffs 13th–15th' ],
41                 [ 'W X4/Z3',     'W Y4/Z4',     0,      5,     '9th',         true,        'Match for 9th'      ],
42                 [ 'L X4/Z3',     'L Y4/Z4',     1,      5,     '11th',        true,        'Match for 11th'     ],
43                 [ 'L semi 1',    'L semi 2',    0,      6,     '3rd',         true,        'Bronze final'       ],
44                 [ 'W L-semi 1',  'W L-semi 2',  1,      6,     '5th',         true,        'Match for 5th'      ],
45                 [ 'L L-semi 1',  'L L-semi 2',  2,      6,     '7th',         true,        'Match for 7th'      ],
46                 [ 'W semi 1',    'W semi 2',    0,      7,     'Final',       true,        'Final'              ]
47         ],
48         'playoff_games_start_row': 26,
49         'playoff_games_cols': [
50                 [ 3, 4, 5, 6 ],
51                 [ 8, 9, 10, 11 ],
52                 [ 13, 14, 15, 16 ],
53         ]
54 };