]> git.sesse.net Git - ultimatescore/blob - config.js
Add a FIXME.
[ultimatescore] / config.js
1 var ultimateconfig = {
2         'tournament_title': 'Battle for Oak Hill 2020',
3         'tournament_footer': 'www.plastkast.no | #oakhill',
4         'exohack': true,
5
6         // Share both sheets with ultimate-nm-2018@solskogen-cubemap.iam.gserviceaccount.com.
7         'score_sheet_id': '1vEKBGGG0DYkQUcePY9EHFaT1Nj_Ops57xHzKvIBCloU',
8         'score_sheet_index': 1088951921,  // #gid= in the URL.
9         'roster_sheet_id': '1is-fwcH_miWEaSJuP8aocvmNUESaS_HbFx58oTZ3EJ4',
10         'api_key': 'AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU',
11
12         'group_cells': {
13                 'Group A': {
14                         // Rank, name, points.
15                         'score_sheet_cols': [ 'Results!S', 'Results!T', 'Results!U' ],
16                         'point_total_start_row': 8,
17                         'ranking_list_start_row': 15,
18                         'ranking_list_explain_cell': 'Results!S21',
19                         'rank_offset': 1
20                 },
21                 'Group B': {
22                         // Rank, name, points.
23                         'score_sheet_cols': [ 'Results!W', 'Results!X', 'Results!Y' ],
24                         'point_total_start_row': 8,
25                         'ranking_list_start_row': 15,
26                         'ranking_list_explain_cell': 'Results!W21',
27                         'rank_offset': 1
28                 },
29                 'Group C': {
30                         // Rank, name, points.
31                         'score_sheet_cols': [ 'Results!AA', 'Results!AB', 'Results!AC' ],
32                         'point_total_start_row': 8,
33                         'ranking_list_start_row': 15,
34                         'ranking_list_explain_cell': 'Results!AA21',
35                         'rank_offset': 1
36                 },
37                 'Playoffs 9th-13th': {
38                         // Rank, name, points.
39                         'score_sheet_cols': [ 'Results!S', 'Results!T', 'Results!U' ],
40                         'point_total_start_row': null,
41                         'ranking_list_start_row': 34,
42                         'ranking_list_explain_cell': 'Results!W34',
43                         'rank_offset': 9
44                 }
45         },
46         'explain_third_cell': 'Results!S27',
47
48         'playoff_games': [
49                 // Teams                        Field   Row    Match name     Mark name    Group name              Game day (default 7)
50                 [ 'C5',          'A4',          0,      0,     'C5/A4',       false,       'Playoffs 9th–13th',    6 ],
51                 [ 'B4',          'C4',          1,      0,     'B4/C4',       false,       'Playoffs 9th–13th',    6 ],
52                 [ 'A4',          'B4',          0,      2,     'A4/B4',       false,       'Playoffs 9th–13th',    6 ],
53                 [ 'Z3',          'C5',          1,      2,     'Z3/C5',       false,       'Playoffs 9th–13th',,   6 ],
54                 [ 'C4',          'Z3',          0,      8,     'C4/Z3',       false,       'Playoffs 9th–13th' ],
55                 [ 'C5',          'B4',          1,      8,     'C5/B4',       false,       'Playoffs 9th–13th' ],
56
57                 [ 'X1',          'Y3',          0,      9,     'X1/Y3',       false,       'Quarterfinals'     ],  // Q1
58                 [ 'Z1',          'Y2',          1,      9,     'Z1/Y2',       false,       'Quarterfinals'     ],  // Q2
59                 [ 'X2',          'Z2',          0,     10,     'X2/Z2',       false,       'Quarterfinals'     ],  // Q3
60                 [ 'Y1',          'X3',          1,     10,     'Y1/X3',       false,       'Quarterfinals'     ],  // Q4
61
62                 [ 'C4',          'C5',          0,     11,     'C4/B5',       false,       'Playoffs 9th–13th' ],
63                 [ 'Z3',          'A4',          1,     11,     'Z3/A4',       false,       'Playoffs 9th–13th' ],
64
65                 [ 'W X1/Y3',     'W Z1/Y2',     0,     12,     'Semi 1',      true,        'Semifinals'        ],
66                 [ 'L X1/Y3',     'L Z1/Y3',     1,     12,     'L-semi 1',    true,        'Playoffs 5th–8th'  ],
67                 [ 'W X2/Z2',     'W Y1/X3',     0,     13,     'Semi 2',      true,        'Semifinals'        ],
68                 [ 'L X2/Z2',     'L Y1/X3',     1,     13,     'L-semi 2',    true,        'Playoffs 5th–8th'  ],
69
70                 [ 'B4',          'Z3',          0,     14,     'B4/Z3',       false,       'Playoffs 9th–13th' ],
71                 [ 'A4',          'C4',          1,     14,     'A4/C4',       false,       'Playoffs 9th–13th' ],
72
73                 [ 'W L-semi 1',  'W L-semi 2',  0,     15,     '5th',         true,        'Match for 5th'      ],
74                 [ 'L L-semi 1',  'L L-semi 2',  1,     15,     '7th',         true,        'Match for 7th'      ],
75                 [ 'L semi 1',    'L semi 2',    0,     16,     '3rd',         true,        'Bronze final'       ],
76                 [ 'W semi 1',    'W semi 2',    0,     17,     'Final',       true,        'Final'              ]
77         ],
78         'playoff_games_start_row': 19,
79         'playoff_games_cols': [
80                 [ 3, 4, 5, 6 ],
81                 [ 8, 9, 10, 11 ],
82                 [ 13, 14, 15, 16 ],
83         ]
84 };