Added a readme

This commit is contained in:
rconnorjohnstone
2021-03-17 13:48:28 -06:00
parent b2f93808ca
commit 0ee953ae69
4 changed files with 416 additions and 5 deletions

View File

@@ -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)