Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added balanced schedules #90

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Teams may use Cheesy Arena freely for practice, scrimmages, and off-season event
1. Download [Go](http://golang.org/doc/install)
1. Set up your [Go workspace](http://golang.org/doc/code.html)
1. If you're using Windows and don't already have a working version of GCC (needed to compile a dependency), install [TDM-GCC](http://tdm-gcc.tdragon.net).
1. Download [git](https://git-scm.com/downloads) and [mercurial](https://www.mercurial-scm.org/downloads) if you don't already have them. Restart all command lines you have open.
1. Download the Cheesy Arena source and dependencies with `go get github.com/Team254/cheesy-arena`
1. Compile the code with `go build`
1. Run the `cheesy-arena` or `cheesy-arena.exe` binary
Expand Down
Binary file added cheesy-arena.exe~
Binary file not shown.
167 changes: 167 additions & 0 deletions schedules/100_10_balanced.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
95,0,67,0,36,0,33,0,16,0,50,0
47,0,38,0,35,0,53,0,99,0,10,0
41,0,13,0,66,0,27,0,55,0,71,0
39,0,98,0,30,0,60,0,61,0,100,0
62,0,86,0,44,0,15,0,8,0,26,0
22,0,90,0,92,0,17,0,1,0,18,0
97,0,31,0,82,0,42,0,93,0,24,0
54,0,87,0,52,0,80,0,73,0,65,0
56,0,49,0,4,0,7,0,9,0,28,0
51,0,14,0,45,0,68,0,96,0,34,0
11,0,76,0,20,0,91,0,46,0,2,0
64,0,19,0,12,0,83,0,79,0,84,0
88,0,48,0,77,0,3,0,40,0,74,0
5,0,37,0,59,0,72,0,89,0,70,0
75,0,78,0,69,0,85,0,21,0,57,0
43,0,81,0,58,0,6,0,25,0,63,0
23,0,94,0,87,0,32,0,29,0,92,0
28,0,18,0,33,0,62,0,24,0,47,0
67,0,1,0,22,0,45,0,97,0,76,0
31,0,39,0,95,0,7,0,26,0,51,0
19,0,35,0,61,0,93,0,68,0,40,0
90,0,15,0,79,0,88,0,100,0,71,0
77,0,42,0,75,0,70,0,4,0,96,0
57,0,74,0,54,0,10,0,91,0,82,0
50,0,73,0,86,0,66,0,81,0,56,0
5,0,60,0,49,0,16,0,78,0,13,0
99,0,64,0,37,0,43,0,63,0,46,0
36,0,58,0,48,0,30,0,32,0,34,0
83,0,52,0,25,0,11,0,55,0,69,0
27,0,3,0,23,0,14,0,20,0,89,0
72,0,6,0,44,0,80,0,38,0,2,0
85,0,8,0,29,0,59,0,84,0,41,0
9,0,21,0,17,0,12,0,94,0,53,0
98,0,56,0,91,0,65,0,92,0,78,0
45,1,31,0,5,0,64,1,62,0,88,0
71,0,16,0,40,0,30,0,1,0,99,0
97,0,49,0,61,0,79,0,11,0,57,0
86,0,43,0,96,0,19,0,3,0,90,0
75,0,32,0,18,0,2,0,50,0,52,0
10,0,6,0,69,0,77,0,37,0,27,0
87,0,34,0,38,0,22,0,25,0,8,0
67,0,54,0,93,0,7,0,85,0,100,0
42,0,15,0,20,0,59,0,81,0,60,0
47,0,68,0,44,0,36,0,17,0,76,0
4,0,84,0,14,0,53,0,13,0,65,0
21,0,46,0,72,0,74,0,66,0,33,0
35,0,83,0,41,0,48,0,95,0,9,0
39,0,12,0,29,0,89,0,82,0,58,0
73,0,28,0,98,0,51,0,23,0,70,0
24,0,94,0,55,0,26,0,80,0,63,0
100,0,91,0,25,0,42,0,18,0,49,0
60,0,56,0,11,0,6,0,19,0,67,0
97,0,5,0,43,0,27,0,7,0,92,0
61,0,2,0,8,0,14,0,77,0,31,0
59,0,40,0,95,0,17,0,32,0,96,0
64,0,52,0,34,0,47,0,41,0,39,0
58,0,74,0,90,0,87,0,4,0,35,0
29,0,71,0,76,0,3,0,73,0,53,0
68,0,84,0,28,0,99,0,69,0,86,0
57,0,98,0,26,0,12,0,72,0,22,0
16,0,79,0,62,0,94,0,37,0,81,0
55,0,15,0,82,0,45,0,75,0,48,0
88,0,9,0,50,0,10,0,13,0,23,0
51,0,36,0,46,0,24,0,65,0,1,0
78,0,93,0,80,0,20,0,70,0,30,0
85,0,63,0,89,0,38,0,33,0,83,0
44,0,54,0,84,0,21,0,66,0,49,0
42,0,19,0,100,0,2,0,5,0,87,0
59,0,94,0,18,0,43,0,68,0,56,0
95,0,22,0,29,0,4,0,64,0,15,0
79,0,76,0,31,0,69,0,40,0,58,0
96,0,99,0,61,0,73,0,74,0,12,0
35,0,70,0,17,0,16,0,55,0,39,0
34,0,72,0,63,0,77,0,50,0,97,0
57,0,8,0,33,0,13,0,32,0,6,0
62,0,20,0,65,0,85,0,71,0,48,0
46,0,26,0,41,0,25,0,30,0,88,0
23,0,53,0,80,0,83,0,91,0,86,0
67,0,92,0,52,0,44,0,89,0,24,0
51,0,78,0,54,0,11,0,9,0,37,0
60,0,10,0,66,0,75,0,93,0,90,0
21,0,36,0,38,0,27,0,98,0,45,0
7,0,14,0,81,0,82,0,47,0,1,0
3,0,65,0,94,0,28,0,31,0,15,0
48,0,68,0,13,0,29,0,46,0,97,0
85,0,5,0,73,0,18,0,30,0,95,0
63,0,57,0,23,0,44,0,17,0,42,0
92,0,72,0,51,0,76,0,86,0,16,0
100,0,78,0,8,0,52,0,4,0,12,0
41,0,10,0,19,0,20,0,69,0,45,0
43,0,82,0,53,0,79,0,87,0,66,0
55,0,22,0,32,0,3,0,47,0,54,0
28,0,75,0,81,0,61,0,88,0,83,0
93,0,96,0,74,0,36,0,49,0,89,0
77,0,1,0,9,0,62,0,38,0,39,0
80,0,33,0,25,0,40,0,37,0,56,0
50,0,24,0,58,0,27,0,84,0,60,0
7,0,99,0,90,0,6,0,59,0,91,0
2,0,34,0,71,0,67,0,35,0,98,0
11,0,70,0,14,0,64,0,21,0,26,0
12,0,3,0,69,0,18,0,13,0,81,0
10,0,89,0,30,0,8,0,51,0,55,0
46,0,31,0,100,0,57,0,47,0,96,0
25,0,36,0,29,0,62,0,66,0,19,0
72,0,83,0,15,0,78,0,43,0,1,0
40,0,4,0,60,0,45,0,94,0,85,0
7,0,73,0,2,0,17,0,41,0,79,0
97,0,23,0,16,0,64,0,58,0,38,0
6,0,21,0,88,0,87,0,24,0,95,0
20,0,56,0,61,0,90,0,54,0,53,0
86,0,37,0,42,0,35,0,52,0,14,0
27,0,68,0,91,0,67,0,70,0,63,0
49,0,65,0,76,0,34,0,75,0,26,0
9,0,33,0,98,0,44,0,5,0,82,0
84,0,74,0,32,0,39,0,11,0,71,0
22,0,59,0,77,0,28,0,80,0,48,0
99,0,50,0,62,0,93,0,92,0,3,0
17,0,45,0,24,0,13,0,54,0,43,0
89,0,97,0,18,0,41,0,31,0,86,0
40,0,7,0,78,0,36,0,63,0,87,0
16,0,25,0,15,0,68,0,21,0,73,0
91,0,4,0,33,0,51,0,69,0,61,0
30,0,90,0,76,0,94,0,38,0,14,0
8,0,1,0,48,0,23,0,60,0,79,0
49,0,67,0,82,0,77,0,99,0,20,0
57,0,59,0,19,0,52,0,9,0,58,0
42,0,85,0,53,0,22,0,50,0,46,0
96,0,37,0,84,0,98,0,88,0,55,0
66,0,92,0,80,0,11,0,95,0,34,0
39,0,27,0,32,0,93,0,72,0,28,0
2,0,65,0,81,0,70,0,10,0,29,0
56,0,100,0,64,0,75,0,44,0,74,0
26,0,83,0,47,0,71,0,6,0,5,0
35,0,1,0,31,0,12,0,59,0,49,0
79,0,3,0,30,0,68,0,9,0,42,0
89,0,48,0,84,0,25,0,90,0,57,0
95,0,69,0,98,0,46,0,54,0,14,0
24,0,66,0,77,0,85,0,23,0,76,0
39,0,99,0,81,0,19,0,22,0,78,0
20,0,7,0,88,0,86,0,29,0,33,0
62,0,58,0,41,0,61,0,67,0,80,0
17,0,38,0,5,0,51,0,15,0,74,0
13,0,28,0,2,0,92,0,63,0,21,0
94,0,36,0,6,0,75,0,73,0,35,0
71,0,96,0,52,0,97,0,56,0,10,0
55,0,87,0,72,0,60,0,64,0,91,0
53,0,37,0,45,0,26,0,100,0,32,0
34,0,18,0,27,0,82,0,83,0,4,0
40,0,70,0,47,0,8,0,43,0,50,0
12,0,93,0,11,0,65,0,16,0,44,0
74,0,14,0,78,0,79,0,29,0,24,0
35,0,3,0,7,0,80,0,46,0,84,0
86,0,25,0,10,0,94,0,67,0,5,0
38,0,68,0,60,0,92,0,57,0,88,0
64,0,66,0,28,0,96,0,20,0,6,0
62,0,69,0,32,0,49,0,90,0,73,0
13,0,30,0,47,0,91,0,19,0,95,0
87,0,71,0,70,0,18,0,44,0,45,0
12,0,15,0,97,0,36,0,2,0,37,0
23,0,11,0,75,0,40,0,31,0,72,0
1,0,26,0,27,0,85,0,52,0,17,0
53,0,93,0,55,0,77,0,33,0,81,0
89,0,9,0,43,0,16,0,34,0,100,0
83,0,58,0,8,0,98,0,42,0,99,0
4,0,48,0,63,0,54,0,39,0,76,0
51,0,21,0,22,0,41,0,56,0,82,0
50,0,65,0,45,0,61,0,59,0,64,0
184 changes: 184 additions & 0 deletions schedules/100_11_balanced.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
40,0,78,0,52,0,97,0,63,0,64,0
88,0,20,0,90,0,19,0,12,0,95,0
87,0,1,0,29,0,21,0,74,0,46,0
70,0,60,0,77,0,26,0,83,0,18,0
31,0,34,0,92,0,11,0,17,0,79,0
22,0,28,0,93,0,39,0,45,0,15,0
16,0,8,0,94,0,98,0,68,0,69,0
67,0,42,0,13,0,72,0,6,0,100,0
56,0,24,0,99,0,9,0,85,0,75,0
58,0,50,0,91,0,81,0,44,0,57,0
37,0,89,0,49,0,55,0,4,0,82,0
7,0,96,0,71,0,14,0,76,0,25,0
47,0,27,0,84,0,48,0,10,0,5,0
30,0,43,0,61,0,80,0,23,0,73,0
33,0,36,0,86,0,62,0,53,0,65,0
3,0,32,0,66,0,38,0,54,0,51,0
2,0,35,0,99,0,41,0,59,0,19,0
68,0,6,0,11,0,50,0,74,0,24,0
37,0,85,0,64,0,1,0,58,0,22,0
88,0,46,0,83,0,81,0,78,0,15,0
76,0,77,0,52,0,29,0,79,0,95,0
23,0,49,0,56,0,26,0,27,0,94,0
12,0,92,0,80,0,91,0,65,0,7,0
82,0,87,0,16,0,61,0,44,0,5,0
45,0,18,0,55,0,3,0,35,0,14,0
51,0,4,0,100,0,28,0,34,0,97,0
31,0,75,0,40,0,67,0,2,0,43,0
57,0,21,0,17,0,41,0,73,0,62,0
47,0,60,0,63,0,86,0,96,0,32,0
66,0,10,0,54,0,42,0,33,0,8,0
84,0,25,0,59,0,93,0,38,0,20,0
69,0,30,0,70,0,72,0,89,0,36,0
9,0,39,0,98,0,13,0,90,0,53,0
71,0,83,0,34,0,48,0,29,0,24,0
64,1,5,0,46,0,77,1,2,0,11,0
15,1,82,0,56,0,68,1,55,0,17,0
51,0,14,0,52,0,6,0,91,0,22,0
26,0,54,0,86,0,88,0,16,0,1,0
74,0,93,0,7,0,58,0,49,0,32,0
20,0,69,0,23,0,37,0,100,0,40,0
95,0,50,0,61,0,60,0,45,0,33,0
70,0,13,0,59,0,47,0,8,0,75,0
62,0,85,0,67,0,18,0,80,0,71,0
53,0,73,0,66,0,84,0,89,0,81,0
92,0,9,0,41,0,36,0,94,0,87,0
21,0,25,0,4,0,63,0,39,0,48,0
35,0,30,0,98,0,96,0,78,0,42,0
65,0,28,0,38,0,76,0,19,0,31,0
72,0,79,0,10,0,99,0,57,0,12,0
97,0,43,0,44,0,90,0,3,0,27,0
13,0,88,0,23,0,17,0,24,0,80,0
81,0,45,0,11,0,71,0,100,0,49,0
7,0,50,0,52,0,86,0,20,0,85,0
33,0,75,0,73,0,77,0,4,0,9,0
63,0,92,0,1,0,29,0,98,0,67,0
94,0,55,0,40,0,84,0,42,0,95,0
99,0,14,0,36,0,38,0,61,0,39,0
44,0,65,0,37,0,70,0,56,0,78,0
66,0,41,0,91,0,96,0,72,0,43,0
97,0,15,0,6,0,10,0,21,0,76,0
68,0,12,0,5,0,26,0,53,0,30,0
32,0,87,0,2,0,3,0,69,0,34,0
64,0,18,0,28,0,59,0,16,0,90,0
47,0,22,0,74,0,31,0,54,0,83,0
79,0,58,0,19,0,51,0,25,0,60,0
89,0,93,0,48,0,46,0,62,0,8,0
27,0,82,0,85,0,57,0,35,0,36,0
49,0,55,0,86,0,70,0,6,0,61,0
95,0,91,0,67,0,56,0,21,0,11,0
2,0,44,0,96,0,52,0,45,0,53,0
30,0,50,0,29,0,88,0,99,0,97,0
17,0,9,0,59,0,3,0,12,0,100,0
18,0,38,0,74,0,5,0,40,0,73,0
51,0,65,0,98,0,89,0,47,0,15,0
19,0,22,0,34,0,94,0,75,0,80,0
43,0,16,0,24,0,7,0,46,0,79,0
84,0,54,0,14,0,82,0,64,0,92,0
25,0,78,0,32,0,26,0,10,0,13,0
33,0,63,0,90,0,35,0,93,0,23,0
66,0,83,0,57,0,76,0,37,0,87,0
42,0,39,0,81,0,41,0,68,0,1,0
4,0,31,0,27,0,69,0,62,0,60,0
58,0,77,0,8,0,20,0,71,0,28,0
48,0,95,0,98,0,72,0,49,0,75,0
96,0,17,0,46,0,65,0,50,0,64,0
73,0,3,0,15,0,92,0,79,0,78,0
21,0,38,0,34,0,30,0,9,0,45,0
43,0,86,0,51,0,56,0,10,0,83,0
100,0,80,0,32,0,1,0,14,0,90,0
74,0,88,0,76,0,60,0,59,0,85,0
63,0,5,0,89,0,19,0,33,0,91,0
39,0,26,0,62,0,44,0,66,0,40,0
28,0,81,0,82,0,48,0,69,0,52,0
61,0,67,0,8,0,24,0,4,0,58,0
22,0,68,0,97,0,13,0,20,0,36,0
6,0,54,0,2,0,77,0,84,0,57,0
16,0,93,0,11,0,55,0,27,0,41,0
31,0,23,0,71,0,53,0,87,0,72,0
47,0,42,0,7,0,37,0,99,0,18,0
12,0,70,0,94,0,35,0,29,0,25,0
14,0,44,0,75,0,63,0,79,0,83,0
86,0,17,0,69,0,78,0,58,0,45,0
22,0,48,0,40,0,65,0,30,0,90,0
49,0,2,0,88,0,62,0,9,0,51,0
5,0,24,0,60,0,92,0,55,0,66,0
57,0,97,0,16,0,56,0,33,0,71,0
54,0,53,0,100,0,99,0,15,0,93,0
38,0,64,0,10,0,35,0,7,0,95,0
6,0,25,0,31,0,85,0,89,0,3,0
96,0,74,0,34,0,27,0,61,0,12,0
18,0,19,0,8,0,50,0,1,0,23,0
67,0,39,0,82,0,73,0,47,0,46,0
72,0,21,0,77,0,37,0,32,0,94,0
36,0,59,0,29,0,11,0,42,0,43,0
91,0,70,0,87,0,68,0,28,0,84,0
20,0,80,0,26,0,76,0,98,0,81,0
13,0,4,0,71,0,52,0,41,0,54,0
99,0,90,0,51,0,78,0,55,0,74,0
79,0,85,0,61,0,65,0,2,0,66,0
57,0,39,0,64,0,19,0,24,0,100,0
62,0,94,0,45,0,97,0,5,0,7,0
89,0,44,0,11,0,18,0,32,0,21,0
15,0,30,0,87,0,86,0,14,0,8,0
37,0,25,0,17,0,36,0,75,0,28,0
98,0,4,0,92,0,68,0,59,0,40,0
35,0,20,0,53,0,16,0,47,0,34,0
56,0,48,0,96,0,6,0,69,0,80,0
72,0,26,0,38,0,33,0,29,0,82,0
13,0,83,0,73,0,1,0,91,0,49,0
43,0,10,0,9,0,93,0,60,0,52,0
23,0,41,0,84,0,58,0,46,0,76,0
27,0,22,0,95,0,67,0,81,0,70,0
42,0,50,0,12,0,77,0,31,0,63,0
3,0,7,0,40,0,88,0,61,0,21,0
75,0,69,0,92,0,39,0,97,0,74,0
87,0,90,0,47,0,4,0,26,0,85,0
62,0,24,0,37,0,91,0,59,0,15,0
78,0,14,0,60,0,11,0,53,0,94,0
33,0,1,0,51,0,41,0,48,0,20,0
89,0,34,0,52,0,23,0,99,0,67,0
19,0,70,0,17,0,93,0,66,0,71,0
58,0,100,0,95,0,82,0,83,0,30,0
76,0,63,0,27,0,45,0,72,0,68,0
77,0,80,0,49,0,16,0,10,0,3,0
8,0,9,0,55,0,57,0,29,0,31,0
5,0,28,0,54,0,98,0,43,0,50,0
65,0,73,0,35,0,6,0,32,0,88,0
79,0,36,0,96,0,13,0,84,0,18,0
25,0,86,0,22,0,46,0,42,0,44,0
2,0,64,0,56,0,81,0,12,0,38,0
61,0,76,0,69,0,93,0,47,0,91,0
71,0,95,0,30,0,37,0,51,0,39,0
19,0,78,0,23,0,9,0,7,0,82,0
3,0,58,0,52,0,33,0,70,0,11,0
40,0,99,0,17,0,8,0,6,0,5,0
94,0,1,0,28,0,96,0,10,0,89,0
60,0,48,0,97,0,67,0,87,0,54,0
83,0,27,0,50,0,2,0,80,0,25,0
81,0,65,0,24,0,77,0,16,0,14,0
57,0,74,0,20,0,63,0,13,0,66,0
41,0,49,0,15,0,85,0,29,0,44,0
84,0,26,0,100,0,35,0,21,0,31,0
55,0,72,0,73,0,64,0,34,0,59,0
18,0,53,0,43,0,88,0,22,0,92,0
68,0,42,0,75,0,62,0,38,0,90,0
36,0,46,0,45,0,56,0,4,0,32,0
79,0,12,0,37,0,98,0,86,0,97,0
14,0,80,0,57,0,47,0,28,0,40,0
15,0,1,0,11,0,9,0,25,0,61,0
93,0,87,0,13,0,51,0,77,0,82,0
67,0,3,0,20,0,5,0,96,0,83,0
63,0,41,0,34,0,95,0,69,0,65,0
6,0,29,0,75,0,27,0,53,0,64,0
32,0,33,0,46,0,68,0,99,0,31,0
73,0,100,0,60,0,7,0,98,0,22,0
10,0,62,0,55,0,81,0,30,0,19,0
78,0,54,0,76,0,49,0,24,0,18,0
90,0,94,0,91,0,2,0,86,0,38,0
21,0,66,0,58,0,12,0,36,0,16,0
35,0,44,0,72,0,4,0,74,0,17,0
71,0,79,0,26,0,89,0,50,0,59,0
45,0,23,0,85,0,92,0,70,0,42,0
39,0,8,0,88,0,84,0,52,0,56,0
48,0,64,0,15,0,43,0,77,0,68,0
Loading