1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 22:03:49 +00:00

Moved match generation to a class and added tournament_type to tournaments.

This commit is contained in:
2015-04-27 13:54:57 -04:00
parent 61d1240f0b
commit 37470d9602
12 changed files with 69 additions and 42 deletions

View File

@@ -28,6 +28,7 @@ class Poolbracket
@round = round + 1
matches = createMatchup(matches,weight,@round,"Winner Pool 1","Winner Pool 2","1/2",1)
matches = createMatchup(matches,weight,@round,"Runner Up Pool 1","Runner Up Pool 2","3/4",1)
return matches
end
def fourPoolsToQuarter(matches,weight,round)