Added a readme
This commit is contained in:
8
main.py
8
main.py
@@ -1,9 +1,9 @@
|
||||
import csv
|
||||
from statistics import mean
|
||||
|
||||
rankings_file = '/home/connor/documents/rankings.csv'
|
||||
matchups_file = '/home/connor/documents/matchups.csv'
|
||||
# First round modified to measure expectations better
|
||||
rankings_file = 'rankings.csv'
|
||||
matchups_file = 'matchups.csv'
|
||||
# Some rounds modified to measure expectations better
|
||||
r1_seeds = [[1,28], [8,9], [5, 12], [4,16], [6,11], [3,18], [7,10], [2,24]]
|
||||
r2_seeds = [[1,10], [5,4], [6,3], [9,2]]
|
||||
r3_seeds = [[1,4], [3,2]]
|
||||
@@ -67,5 +67,3 @@ with open(rankings_file, newline='\n') as rankings_csv:
|
||||
winner = r6_matchups[0][1] if (final_rankings[0] >= final_rankings[1]) else r6_matchups[0][0]
|
||||
|
||||
print(winner)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user