bracket_tree 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/.gitignore +4 -0
  2. data/.travis.yml +7 -0
  3. data/Gemfile +4 -0
  4. data/README.md +187 -0
  5. data/Rakefile +8 -0
  6. data/bracket_tree.gemspec +20 -0
  7. data/lib/bracket_tree.rb +9 -0
  8. data/lib/bracket_tree/bracket.rb +12 -0
  9. data/lib/bracket_tree/bracket/base.rb +228 -0
  10. data/lib/bracket_tree/bracket/double_elimination.rb +7 -0
  11. data/lib/bracket_tree/bracket/single_elimination.rb +7 -0
  12. data/lib/bracket_tree/match.rb +24 -0
  13. data/lib/bracket_tree/node.rb +23 -0
  14. data/lib/bracket_tree/template.rb +70 -0
  15. data/lib/bracket_tree/templates/double_elimination.rb +11 -0
  16. data/lib/bracket_tree/templates/double_elimination/128.json +3695 -0
  17. data/lib/bracket_tree/templates/double_elimination/16.json +107 -0
  18. data/lib/bracket_tree/templates/double_elimination/32.json +202 -0
  19. data/lib/bracket_tree/templates/double_elimination/4.json +26 -0
  20. data/lib/bracket_tree/templates/double_elimination/64.json +400 -0
  21. data/lib/bracket_tree/templates/double_elimination/8.json +50 -0
  22. data/lib/bracket_tree/templates/single_elimination.rb +11 -0
  23. data/lib/bracket_tree/templates/single_elimination/128.json +1917 -0
  24. data/lib/bracket_tree/templates/single_elimination/16.json +56 -0
  25. data/lib/bracket_tree/templates/single_elimination/2.json +11 -0
  26. data/lib/bracket_tree/templates/single_elimination/32.json +351 -0
  27. data/lib/bracket_tree/templates/single_elimination/4.json +17 -0
  28. data/lib/bracket_tree/templates/single_elimination/64.json +703 -0
  29. data/lib/bracket_tree/templates/single_elimination/8.json +29 -0
  30. data/spec/bracket_spec.rb +189 -0
  31. data/spec/double_elimination_spec.rb +5 -0
  32. data/spec/match_spec.rb +30 -0
  33. data/spec/spec_helper.rb +3 -0
  34. data/spec/template_spec.rb +58 -0
  35. metadata +112 -0
@@ -0,0 +1,107 @@
1
+ {
2
+ "matches":[
3
+ { "seats":[1,3], "winner_to":2, "loser_to":39 },
4
+ { "seats":[5,7], "winner_to":6, "loser_to":41 },
5
+ { "seats":[9,11], "winner_to":10, "loser_to":45 },
6
+ { "seats":[13,15], "winner_to":14, "loser_to":47 },
7
+ { "seats":[17,19], "winner_to":18, "loser_to":51 },
8
+ { "seats":[21,23], "winner_to":22, "loser_to":53 },
9
+ { "seats":[25,27], "winner_to":26, "loser_to":57 },
10
+ { "seats":[29,31], "winner_to":30, "loser_to":59 },
11
+
12
+ { "seats":[2,6], "winner_to":4, "loser_to":55 },
13
+ { "seats":[10,14], "winner_to":12, "loser_to":49 },
14
+ { "seats":[18,22], "winner_to":20, "loser_to":43 },
15
+ { "seats":[26,30], "winner_to":28, "loser_to":37 },
16
+ { "seats":[39,41], "winner_to":40, "loser_to":null },
17
+ { "seats":[45,47], "winner_to":46, "loser_to":null },
18
+ { "seats":[51,53], "winner_to":52, "loser_to":null },
19
+ { "seats":[57,59], "winner_to":58, "loser_to":null },
20
+
21
+ { "seats":[4,12], "winner_to":8, "loser_to":61 },
22
+ { "seats":[20,28], "winner_to":24, "loser_to":35 },
23
+ { "seats":[37,40], "winner_to":38, "loser_to":null },
24
+ { "seats":[43,46], "winner_to":44, "loser_to":null },
25
+ { "seats":[49,52], "winner_to":50, "loser_to":null },
26
+ { "seats":[55,58], "winner_to":56, "loser_to":null },
27
+
28
+ { "seats":[8,24], "winner_to":16, "loser_to":33 },
29
+ { "seats":[38,44], "winner_to":42, "loser_to":null },
30
+ { "seats":[50,56], "winner_to":54, "loser_to":null },
31
+
32
+
33
+ { "seats":[35,42], "winner_to":36, "loser_to":null },
34
+ { "seats":[54,61], "winner_to":60, "loser_to":null },
35
+
36
+ { "seats":[36,60], "winner_to":48, "loser_to":null },
37
+
38
+ { "seats":[33,48], "winner_to":34, "loser_to":null },
39
+
40
+ { "seats":[16,34], "winner_to":null, "loser_to":null }
41
+ ],
42
+ "seats": [
43
+ { "position":32 },
44
+ { "position":16 },
45
+ { "position":8 },
46
+ { "position":24 },
47
+ { "position":4 },
48
+ { "position":12 },
49
+ { "position":20 },
50
+ { "position":28 },
51
+ { "position":2 },
52
+ { "position":6 },
53
+ { "position":10 },
54
+ { "position":14 },
55
+ { "position":18 },
56
+ { "position":22 },
57
+ { "position":26 },
58
+ { "position":30 },
59
+ { "position":1 },
60
+ { "position":3 },
61
+ { "position":5 },
62
+ { "position":7 },
63
+ { "position":9 },
64
+ { "position":11 },
65
+ { "position":13 },
66
+ { "position":15 },
67
+ { "position":17 },
68
+ { "position":19 },
69
+ { "position":21 },
70
+ { "position":23 },
71
+ { "position":25 },
72
+ { "position":27 },
73
+ { "position":29 },
74
+ { "position":31 },
75
+ { "position":34 },
76
+ { "position":33 },
77
+ { "position":48 },
78
+ { "position":36 },
79
+ { "position":60 },
80
+ { "position":35 },
81
+ { "position":42 },
82
+ { "position":54 },
83
+ { "position":61 },
84
+ { "position":38 },
85
+ { "position":44 },
86
+ { "position":50 },
87
+ { "position":56 },
88
+ { "position":37 },
89
+ { "position":40 },
90
+ { "position":43 },
91
+ { "position":46 },
92
+ { "position":49 },
93
+ { "position":52 },
94
+ { "position":55 },
95
+ { "position":58 },
96
+ { "position":39 },
97
+ { "position":41 },
98
+ { "position":45 },
99
+ { "position":47 },
100
+ { "position":51 },
101
+ { "position":53 },
102
+ { "position":57 },
103
+ { "position":59 }
104
+ ],
105
+ "starting_seats":[1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31]
106
+ }
107
+
@@ -0,0 +1,202 @@
1
+ {
2
+ "matches":[
3
+ { "seats":[1,3], "winner_to":2, "loser_to":73 },
4
+ { "seats":[5,7], "winner_to":6, "loser_to":75 },
5
+ { "seats":[9,11], "winner_to":10, "loser_to":79 },
6
+ { "seats":[13,15], "winner_to":14, "loser_to":81 },
7
+ { "seats":[17,19], "winner_to":18, "loser_to":87 },
8
+ { "seats":[21,23], "winner_to":22, "loser_to":89 },
9
+ { "seats":[25,27], "winner_to":26, "loser_to":93 },
10
+ { "seats":[29,31], "winner_to":30, "loser_to":95 },
11
+ { "seats":[33,35], "winner_to":34, "loser_to":103 },
12
+ { "seats":[37,39], "winner_to":38, "loser_to":105 },
13
+ { "seats":[41,43], "winner_to":42, "loser_to":109 },
14
+ { "seats":[45,47], "winner_to":46, "loser_to":111 },
15
+ { "seats":[49,51], "winner_to":50, "loser_to":117 },
16
+ { "seats":[53,55], "winner_to":54, "loser_to":119 },
17
+ { "seats":[57,59], "winner_to":58, "loser_to":123 },
18
+ { "seats":[61,63], "winner_to":62, "loser_to":125 },
19
+
20
+ { "seats":[2,6], "winner_to":4, "loser_to":121 },
21
+ { "seats":[10,14], "winner_to":12, "loser_to":115 },
22
+ { "seats":[18,22], "winner_to":20, "loser_to":107 },
23
+ { "seats":[26,30], "winner_to":28, "loser_to":101 },
24
+ { "seats":[34,38], "winner_to":36, "loser_to":91 },
25
+ { "seats":[42,46], "winner_to":44, "loser_to":85 },
26
+ { "seats":[50,54], "winner_to":52, "loser_to":77 },
27
+ { "seats":[58,62], "winner_to":60, "loser_to":71 },
28
+ { "seats":[73,75], "winner_to":74, "loser_to":null },
29
+ { "seats":[79,81], "winner_to":80, "loser_to":null },
30
+ { "seats":[87,89], "winner_to":88, "loser_to":null },
31
+ { "seats":[93,95], "winner_to":94, "loser_to":null },
32
+ { "seats":[103,105], "winner_to":104, "loser_to":null },
33
+ { "seats":[109,111], "winner_to":110, "loser_to":null },
34
+ { "seats":[117,119], "winner_to":118, "loser_to":null },
35
+ { "seats":[123,125], "winner_to":124, "loser_to":null },
36
+
37
+ { "seats":[4,12], "winner_to":8, "loser_to":69 },
38
+ { "seats":[20,28], "winner_to":24, "loser_to":83 },
39
+ { "seats":[36,44], "winner_to":40, "loser_to":99 },
40
+ { "seats":[52,60], "winner_to":56, "loser_to":113 },
41
+ { "seats":[71,74], "winner_to":72, "loser_to":null },
42
+ { "seats":[77,80], "winner_to":78, "loser_to":null },
43
+ { "seats":[85,88], "winner_to":86, "loser_to":null },
44
+ { "seats":[91,94], "winner_to":92, "loser_to":null },
45
+ { "seats":[101,104], "winner_to":102, "loser_to":null },
46
+ { "seats":[107,110], "winner_to":108, "loser_to":null },
47
+ { "seats":[115,118], "winner_to":116, "loser_to":null },
48
+ { "seats":[121,124], "winner_to":122, "loser_to":null },
49
+
50
+ { "seats":[8,24], "winner_to":16, "loser_to":97 },
51
+ { "seats":[40,56], "winner_to":48, "loser_to":67 },
52
+ { "seats":[72,78], "winner_to":76, "loser_to":null },
53
+ { "seats":[86,92], "winner_to":90, "loser_to":null },
54
+ { "seats":[102,108], "winner_to":106, "loser_to":null },
55
+ { "seats":[116,122], "winner_to":120, "loser_to":null },
56
+
57
+ { "seats":[69,76], "winner_to":70, "loser_to":null },
58
+ { "seats":[83,90], "winner_to":84, "loser_to":null },
59
+ { "seats":[99,106], "winner_to":100, "loser_to":null },
60
+ { "seats":[113,120], "winner_to":114, "loser_to":null },
61
+
62
+ { "seats":[70,84], "winner_to":82, "loser_to":null },
63
+ { "seats":[100,114], "winner_to":112, "loser_to":null },
64
+
65
+ { "seats":[67,82], "winner_to":68, "loser_to":null },
66
+ { "seats":[97,112], "winner_to":98, "loser_to":null },
67
+
68
+ { "seats":[68,98], "winner_to":96, "loser_to":null },
69
+
70
+ { "seats":[16,48], "winner_to":32, "loser_to":65 },
71
+ { "seats":[65,96], "winner_to":66, "loser_to":null },
72
+
73
+ { "seats":[32,66], "winner_to":null, "loser_to":null }
74
+ ],
75
+ "seats":[
76
+ { "position": 64 },
77
+ { "position": 32 },
78
+ { "position": 66 },
79
+ { "position": 16 },
80
+ { "position": 48 },
81
+ { "position": 65 },
82
+ { "position": 96 },
83
+ { "position": 68 },
84
+ { "position": 98 },
85
+ { "position": 67 },
86
+ { "position": 82 },
87
+ { "position": 97 },
88
+ { "position": 112 },
89
+ { "position": 70 },
90
+ { "position": 84 },
91
+ { "position": 100 },
92
+ { "position": 114 },
93
+ { "position": 69 },
94
+ { "position": 76 },
95
+ { "position": 83 },
96
+ { "position": 90 },
97
+ { "position": 99 },
98
+ { "position": 106 },
99
+ { "position": 113 },
100
+ { "position": 120 },
101
+ { "position": 72 },
102
+ { "position": 78 },
103
+ { "position": 86 },
104
+ { "position": 92 },
105
+ { "position": 102 },
106
+ { "position": 108 },
107
+ { "position": 116 },
108
+ { "position": 122 },
109
+ { "position": 71 },
110
+ { "position": 74 },
111
+ { "position": 77 },
112
+ { "position": 80 },
113
+ { "position": 85 },
114
+ { "position": 88 },
115
+ { "position": 91 },
116
+ { "position": 94 },
117
+ { "position": 101 },
118
+ { "position": 104 },
119
+ { "position": 107 },
120
+ { "position": 110 },
121
+ { "position": 115 },
122
+ { "position": 118 },
123
+ { "position": 121 },
124
+ { "position": 124 },
125
+ { "position": 73 },
126
+ { "position": 75 },
127
+ { "position": 79 },
128
+ { "position": 81 },
129
+ { "position": 87 },
130
+ { "position": 89 },
131
+ { "position": 93 },
132
+ { "position": 95 },
133
+ { "position": 103 },
134
+ { "position": 105 },
135
+ { "position": 109 },
136
+ { "position": 111 },
137
+ { "position": 117 },
138
+ { "position": 119 },
139
+ { "position": 123 },
140
+ { "position": 125 },
141
+ { "position": 8 },
142
+ { "position": 24 },
143
+ { "position": 40 },
144
+ { "position": 56 },
145
+ { "position": 4 },
146
+ { "position": 12 },
147
+ { "position": 20 },
148
+ { "position": 28 },
149
+ { "position": 36 },
150
+ { "position": 44 },
151
+ { "position": 52 },
152
+ { "position": 60 },
153
+ { "position": 2 },
154
+ { "position": 6 },
155
+ { "position": 10 },
156
+ { "position": 14 },
157
+ { "position": 18 },
158
+ { "position": 22 },
159
+ { "position": 26 },
160
+ { "position": 30 },
161
+ { "position": 34 },
162
+ { "position": 38 },
163
+ { "position": 42 },
164
+ { "position": 46 },
165
+ { "position": 50 },
166
+ { "position": 54 },
167
+ { "position": 58 },
168
+ { "position": 62 },
169
+ { "position": 1 },
170
+ { "position": 3 },
171
+ { "position": 5 },
172
+ { "position": 7 },
173
+ { "position": 9 },
174
+ { "position": 11 },
175
+ { "position": 13 },
176
+ { "position": 15 },
177
+ { "position": 17 },
178
+ { "position": 19 },
179
+ { "position": 21 },
180
+ { "position": 23 },
181
+ { "position": 25 },
182
+ { "position": 27 },
183
+ { "position": 29 },
184
+ { "position": 31 },
185
+ { "position": 33 },
186
+ { "position": 35 },
187
+ { "position": 37 },
188
+ { "position": 39 },
189
+ { "position": 41 },
190
+ { "position": 43 },
191
+ { "position": 45 },
192
+ { "position": 47 },
193
+ { "position": 49 },
194
+ { "position": 51 },
195
+ { "position": 53 },
196
+ { "position": 55 },
197
+ { "position": 57 },
198
+ { "position": 59 },
199
+ { "position": 61 },
200
+ { "position": 63 }
201
+ ],
202
+ "starting_seats":[1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63]}
@@ -0,0 +1,26 @@
1
+ {
2
+ "matches":[
3
+ { "seats":[1,3], "winner_to":2, "loser_to":11 },
4
+ { "seats":[5,7], "winner_to":6, "loser_to":13 },
5
+ { "seats":[2,6], "winner_to":4, "loser_to":9 },
6
+ { "seats":[11,13], "winner_to":12, "loser_to":null },
7
+ { "seats":[9,12], "winner_to":10, "loser_to":null },
8
+ { "seats":[4,10], "winner_to":null, "loser_to":null }
9
+ ],
10
+ "seats":[
11
+ { "position": 8 },
12
+ { "position": 4 },
13
+ { "position": 10 },
14
+ { "position": 9 },
15
+ { "position": 12 },
16
+ { "position": 11 },
17
+ { "position": 13 },
18
+ { "position": 2 },
19
+ { "position": 6 },
20
+ { "position": 5 },
21
+ { "position": 7 },
22
+ { "position": 1 },
23
+ { "position": 3 }
24
+ ],
25
+ "starting_seats":[1,3,5,7]
26
+ }
@@ -0,0 +1,400 @@
1
+ {
2
+ "seats": [
3
+ {"position": 128 },
4
+ {"position": 64},
5
+ {"position": 130},
6
+ {"position": 129},
7
+ {"position": 192},
8
+ {"position": 132},
9
+ {"position": 194},
10
+ {"position": 131},
11
+ {"position": 162},
12
+ {"position": 193},
13
+ {"position": 224},
14
+ {"position": 134},
15
+ {"position": 164},
16
+ {"position": 196},
17
+ {"position": 226},
18
+ {"position": 133},
19
+ {"position": 148},
20
+ {"position": 163},
21
+ {"position": 178},
22
+ {"position": 195},
23
+ {"position": 210},
24
+ {"position": 225},
25
+ {"position": 240},
26
+ {"position": 136},
27
+ {"position": 150},
28
+ {"position": 166},
29
+ {"position": 180},
30
+ {"position": 198},
31
+ {"position": 212},
32
+ {"position": 228},
33
+ {"position": 242},
34
+ {"position": 135},
35
+ {"position": 142},
36
+ {"position": 149},
37
+ {"position": 156},
38
+ {"position": 165},
39
+ {"position": 172},
40
+ {"position": 179},
41
+ {"position": 186},
42
+ {"position": 197},
43
+ {"position": 204},
44
+ {"position": 211},
45
+ {"position": 218},
46
+ {"position": 227},
47
+ {"position": 234},
48
+ {"position": 241},
49
+ {"position": 248},
50
+ {"position": 138},
51
+ {"position": 144},
52
+ {"position": 152},
53
+ {"position": 158},
54
+ {"position": 168},
55
+ {"position": 174},
56
+ {"position": 182},
57
+ {"position": 188},
58
+ {"position": 200},
59
+ {"position": 206},
60
+ {"position": 214},
61
+ {"position": 220},
62
+ {"position": 230},
63
+ {"position": 236},
64
+ {"position": 244},
65
+ {"position": 250},
66
+ {"position": 137},
67
+ {"position": 140},
68
+ {"position": 143},
69
+ {"position": 146},
70
+ {"position": 151},
71
+ {"position": 154},
72
+ {"position": 157},
73
+ {"position": 160},
74
+ {"position": 167},
75
+ {"position": 170},
76
+ {"position": 173},
77
+ {"position": 176},
78
+ {"position": 181},
79
+ {"position": 184},
80
+ {"position": 187},
81
+ {"position": 190},
82
+ {"position": 199},
83
+ {"position": 202},
84
+ {"position": 205},
85
+ {"position": 208},
86
+ {"position": 213},
87
+ {"position": 216},
88
+ {"position": 219},
89
+ {"position": 222},
90
+ {"position": 229},
91
+ {"position": 232},
92
+ {"position": 235},
93
+ {"position": 238},
94
+ {"position": 243},
95
+ {"position": 246},
96
+ {"position": 249},
97
+ {"position": 252},
98
+ {"position": 139},
99
+ {"position": 141},
100
+ {"position": 145},
101
+ {"position": 147},
102
+ {"position": 153},
103
+ {"position": 155},
104
+ {"position": 159},
105
+ {"position": 161},
106
+ {"position": 169},
107
+ {"position": 171},
108
+ {"position": 175},
109
+ {"position": 177},
110
+ {"position": 183},
111
+ {"position": 185},
112
+ {"position": 189},
113
+ {"position": 191},
114
+ {"position": 201},
115
+ {"position": 203},
116
+ {"position": 207},
117
+ {"position": 209},
118
+ {"position": 215},
119
+ {"position": 217},
120
+ {"position": 221},
121
+ {"position": 223},
122
+ {"position": 231},
123
+ {"position": 233},
124
+ {"position": 237},
125
+ {"position": 239},
126
+ {"position": 245},
127
+ {"position": 247},
128
+ {"position": 251},
129
+ {"position": 253},
130
+ {"position": 32},
131
+ {"position": 96},
132
+ {"position": 16},
133
+ {"position": 48},
134
+ {"position": 80},
135
+ {"position": 112},
136
+ {"position": 8},
137
+ {"position": 24},
138
+ {"position": 40},
139
+ {"position": 56},
140
+ {"position": 72},
141
+ {"position": 88},
142
+ {"position": 104},
143
+ {"position": 120},
144
+ {"position": 4},
145
+ {"position": 12},
146
+ {"position": 20},
147
+ {"position": 28},
148
+ {"position": 36},
149
+ {"position": 44},
150
+ {"position": 52},
151
+ {"position": 60},
152
+ {"position": 68},
153
+ {"position": 76},
154
+ {"position": 84},
155
+ {"position": 92},
156
+ {"position": 100},
157
+ {"position": 108},
158
+ {"position": 116},
159
+ {"position": 124},
160
+ {"position": 2},
161
+ {"position": 6},
162
+ {"position": 10},
163
+ {"position": 14},
164
+ {"position": 18},
165
+ {"position": 22},
166
+ {"position": 26},
167
+ {"position": 30},
168
+ {"position": 34},
169
+ {"position": 38},
170
+ {"position": 42},
171
+ {"position": 46},
172
+ {"position": 50},
173
+ {"position": 54},
174
+ {"position": 58},
175
+ {"position": 62},
176
+ {"position": 66},
177
+ {"position": 70},
178
+ {"position": 74},
179
+ {"position": 78},
180
+ {"position": 82},
181
+ {"position": 86},
182
+ {"position": 90},
183
+ {"position": 94},
184
+ {"position": 98},
185
+ {"position": 102},
186
+ {"position": 106},
187
+ {"position": 110},
188
+ {"position": 114},
189
+ {"position": 118},
190
+ {"position": 122},
191
+ {"position": 126},
192
+ {"position": 1},
193
+ {"position": 3},
194
+ {"position": 5},
195
+ {"position": 7},
196
+ {"position": 9},
197
+ {"position": 11},
198
+ {"position": 13},
199
+ {"position": 15},
200
+ {"position": 17},
201
+ {"position": 19},
202
+ {"position": 21},
203
+ {"position": 23},
204
+ {"position": 25},
205
+ {"position": 27},
206
+ {"position": 29},
207
+ {"position": 31},
208
+ {"position": 33},
209
+ {"position": 35},
210
+ {"position": 37},
211
+ {"position": 39},
212
+ {"position": 41},
213
+ {"position": 43},
214
+ {"position": 45},
215
+ {"position": 47},
216
+ {"position": 49},
217
+ {"position": 51},
218
+ {"position": 53},
219
+ {"position": 55},
220
+ {"position": 57},
221
+ {"position": 59},
222
+ {"position": 61},
223
+ {"position": 63},
224
+ {"position": 65},
225
+ {"position": 67},
226
+ {"position": 69},
227
+ {"position": 71},
228
+ {"position": 73},
229
+ {"position": 75},
230
+ {"position": 77},
231
+ {"position": 79},
232
+ {"position": 81},
233
+ {"position": 83},
234
+ {"position": 85},
235
+ {"position": 87},
236
+ {"position": 89},
237
+ {"position": 91},
238
+ {"position": 93},
239
+ {"position": 95},
240
+ {"position": 97},
241
+ {"position": 99},
242
+ {"position": 101},
243
+ {"position": 103},
244
+ {"position": 105},
245
+ {"position": 107},
246
+ {"position": 109},
247
+ {"position": 111},
248
+ {"position": 113},
249
+ {"position": 115},
250
+ {"position": 117},
251
+ {"position": 119},
252
+ {"position": 121},
253
+ {"position": 123},
254
+ {"position": 125},
255
+ {"position": 127}
256
+ ],
257
+ "matches": [
258
+ {"seats": [1,3],"winner_to": 2,"loser_to": 139},
259
+ {"seats": [2,6],"winner_to": 4,"loser_to": 249},
260
+ {"seats": [5,7],"winner_to": 6,"loser_to": 141},
261
+ {"seats": [4,12],"winner_to": 8,"loser_to": 135},
262
+ {"seats": [9,11],"winner_to": 10,"loser_to": 145},
263
+ {"seats": [10,14],"winner_to": 12,"loser_to": 243},
264
+ {"seats": [13,15],"winner_to": 14,"loser_to": 147},
265
+ {"seats": [8,24],"winner_to": 16,"loser_to": 225},
266
+ {"seats": [17,19],"winner_to": 18,"loser_to": 153},
267
+ {"seats": [18,22],"winner_to": 20,"loser_to": 235},
268
+ {"seats": [21,23],"winner_to": 22,"loser_to": 155},
269
+ {"seats": [20,28],"winner_to": 24,"loser_to": 149},
270
+ {"seats": [25,27],"winner_to": 26,"loser_to": 159},
271
+ {"seats": [26,30],"winner_to": 28,"loser_to": 229},
272
+ {"seats": [29,31],"winner_to": 30,"loser_to": 161},
273
+ {"seats": [16,48],"winner_to": 32,"loser_to": 131},
274
+ {"seats": [33,35],"winner_to": 34,"loser_to": 169},
275
+ {"seats": [34,38],"winner_to": 36,"loser_to": 219},
276
+ {"seats": [37,39],"winner_to": 38,"loser_to": 171},
277
+ {"seats": [36,44],"winner_to": 40,"loser_to": 165},
278
+ {"seats": [41,43],"winner_to": 42,"loser_to": 175},
279
+ {"seats": [42,46],"winner_to": 44,"loser_to": 213},
280
+ {"seats": [45,47],"winner_to": 46,"loser_to": 177},
281
+ {"seats": [40,56],"winner_to": 48,"loser_to": 195},
282
+ {"seats": [49,51],"winner_to": 50,"loser_to": 183},
283
+ {"seats": [50,54],"winner_to": 52,"loser_to": 205},
284
+ {"seats": [53,55],"winner_to": 54,"loser_to": 185},
285
+ {"seats": [52,60],"winner_to": 56,"loser_to": 179},
286
+ {"seats": [57,59],"winner_to": 58,"loser_to": 189},
287
+ {"seats": [58,62],"winner_to": 60,"loser_to": 199},
288
+ {"seats": [61,63],"winner_to": 62,"loser_to": 191},
289
+ {"seats": [32,96],"winner_to": 64,"loser_to": 129},
290
+ {"seats": [65,67],"winner_to": 66,"loser_to": 201},
291
+ {"seats": [66,70],"winner_to": 68,"loser_to": 187},
292
+ {"seats": [69,71],"winner_to": 70,"loser_to": 203},
293
+ {"seats": [68,76],"winner_to": 72,"loser_to": 197},
294
+ {"seats": [73,75],"winner_to": 74,"loser_to": 207},
295
+ {"seats": [74,78],"winner_to": 76,"loser_to": 181},
296
+ {"seats": [77,79],"winner_to": 78,"loser_to": 209},
297
+ {"seats": [72,88],"winner_to": 80,"loser_to": 163},
298
+ {"seats": [81,83],"winner_to": 82,"loser_to": 215},
299
+ {"seats": [82,86],"winner_to": 84,"loser_to": 173},
300
+ {"seats": [85,87],"winner_to": 86,"loser_to": 217},
301
+ {"seats": [84,92],"winner_to": 88,"loser_to": 211},
302
+ {"seats": [89,91],"winner_to": 90,"loser_to": 221},
303
+ {"seats": [90,94],"winner_to": 92,"loser_to": 167},
304
+ {"seats": [93,95],"winner_to": 94,"loser_to": 223},
305
+ {"seats": [80,112],"winner_to": 96,"loser_to": 193},
306
+ {"seats": [97,99],"winner_to": 98,"loser_to": 231},
307
+ {"seats": [98,102],"winner_to": 100,"loser_to": 157},
308
+ {"seats": [101,103],"winner_to": 102,"loser_to": 233},
309
+ {"seats": [100,108],"winner_to": 104,"loser_to": 227},
310
+ {"seats": [105,107],"winner_to": 106,"loser_to": 237},
311
+ {"seats": [106,110],"winner_to": 108,"loser_to": 151},
312
+ {"seats": [109,111],"winner_to": 110,"loser_to": 239},
313
+ {"seats": [104,120],"winner_to": 112,"loser_to": 133},
314
+ {"seats": [113,115],"winner_to": 114,"loser_to": 245},
315
+ {"seats": [114,118],"winner_to": 116,"loser_to": 143},
316
+ {"seats": [117,119],"winner_to": 118,"loser_to": 247},
317
+ {"seats": [116,124],"winner_to": 120,"loser_to": 241},
318
+ {"seats": [121,123],"winner_to": 122,"loser_to": 251},
319
+ {"seats": [122,126],"winner_to": 124,"loser_to": 137},
320
+ {"seats": [125,127],"winner_to": 126,"loser_to": 253},
321
+
322
+ {"seats": [139,141],"winner_to": 140,"loser_to": null},
323
+ {"seats": [145,147],"winner_to": 146,"loser_to": null},
324
+ {"seats": [153,155],"winner_to": 154,"loser_to": null},
325
+ {"seats": [159,161],"winner_to": 160,"loser_to": null},
326
+ {"seats": [169,171],"winner_to": 170,"loser_to": null},
327
+ {"seats": [175,177],"winner_to": 176,"loser_to": null},
328
+ {"seats": [183,185],"winner_to": 184,"loser_to": null},
329
+ {"seats": [189,191],"winner_to": 190,"loser_to": null},
330
+ {"seats": [201,203],"winner_to": 202,"loser_to": null},
331
+ {"seats": [207,209],"winner_to": 208,"loser_to": null},
332
+ {"seats": [215,217],"winner_to": 216,"loser_to": null},
333
+ {"seats": [221,223],"winner_to": 222,"loser_to": null},
334
+ {"seats": [231,233],"winner_to": 232,"loser_to": null},
335
+ {"seats": [237,239],"winner_to": 238,"loser_to": null},
336
+ {"seats": [245,247],"winner_to": 246,"loser_to": null},
337
+ {"seats": [251,253],"winner_to": 252,"loser_to": null},
338
+
339
+ {"seats": [143,146],"winner_to": 144,"loser_to": null},
340
+ {"seats": [151,154],"winner_to": 152,"loser_to": null},
341
+ {"seats": [157,160],"winner_to": 158,"loser_to": null},
342
+ {"seats": [167,170],"winner_to": 168,"loser_to": null},
343
+ {"seats": [173,176],"winner_to": 174,"loser_to": null},
344
+ {"seats": [181,184],"winner_to": 182,"loser_to": null},
345
+ {"seats": [187,190],"winner_to": 188,"loser_to": null},
346
+ {"seats": [199,202],"winner_to": 200,"loser_to": null},
347
+ {"seats": [205,208],"winner_to": 206,"loser_to": null},
348
+ {"seats": [213,216],"winner_to": 214,"loser_to": null},
349
+ {"seats": [219,222],"winner_to": 220,"loser_to": null},
350
+ {"seats": [229,232],"winner_to": 230,"loser_to": null},
351
+ {"seats": [235,238],"winner_to": 236,"loser_to": null},
352
+ {"seats": [243,246],"winner_to": 244,"loser_to": null},
353
+ {"seats": [249,252],"winner_to": 250,"loser_to": null},
354
+ {"seats": [137,140],"winner_to": 138,"loser_to": null},
355
+
356
+ {"seats": [138,144],"winner_to": 142,"loser_to": null},
357
+ {"seats": [152,158],"winner_to": 156,"loser_to": null},
358
+ {"seats": [168,174],"winner_to": 172,"loser_to": null},
359
+ {"seats": [182,188],"winner_to": 186,"loser_to": null},
360
+ {"seats": [200,206],"winner_to": 204,"loser_to": null},
361
+ {"seats": [214,220],"winner_to": 218,"loser_to": null},
362
+ {"seats": [230,236],"winner_to": 234,"loser_to": null},
363
+ {"seats": [244,250],"winner_to": 248,"loser_to": null},
364
+
365
+ {"seats": [179,186],"winner_to": 180,"loser_to": null},
366
+ {"seats": [149,156],"winner_to": 150,"loser_to": null},
367
+ {"seats": [165,172],"winner_to": 166,"loser_to": null},
368
+ {"seats": [197,204],"winner_to": 198,"loser_to": null},
369
+ {"seats": [211,218],"winner_to": 212,"loser_to": null},
370
+ {"seats": [227,234],"winner_to": 228,"loser_to": null},
371
+ {"seats": [241,248],"winner_to": 242,"loser_to": null},
372
+ {"seats": [135,142],"winner_to": 136,"loser_to": null},
373
+
374
+ {"seats": [136,150],"winner_to": 148,"loser_to": null},
375
+ {"seats": [228,242],"winner_to": 240,"loser_to": null},
376
+ {"seats": [166,180],"winner_to": 178,"loser_to": null},
377
+ {"seats": [198,212],"winner_to": 210,"loser_to": null},
378
+
379
+
380
+ {"seats": [163,178],"winner_to": 164,"loser_to": null},
381
+ {"seats": [195,210],"winner_to": 196,"loser_to": null},
382
+ {"seats": [225,240],"winner_to": 226,"loser_to": null},
383
+ {"seats": [133,148],"winner_to": 134,"loser_to": null},
384
+
385
+ {"seats": [134,164],"winner_to": 162,"loser_to": null},
386
+ {"seats": [196,226],"winner_to": 224,"loser_to": null},
387
+
388
+ {"seats": [193,224],"winner_to": 194,"loser_to": null},
389
+ {"seats": [131,162],"winner_to": 132,"loser_to": null},
390
+
391
+ {"seats": [132,194],"winner_to": 192,"loser_to": null},
392
+
393
+ {"seats": [129,192],"winner_to": 130,"loser_to": null},
394
+
395
+ {"seats": [64,130],"winner_to": null,"loser_to": null}
396
+ ],
397
+ "starting_seats": [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,
398
+ 41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,
399
+ 89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127]
400
+ }