1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 14:36:59 +00:00

Added logic for 16 man dobule elminination match generation.

This commit is contained in:
2020-01-23 21:25:25 -05:00
parent ff102a1862
commit 58afc8a485
8 changed files with 365 additions and 16 deletions

View File

@@ -14,7 +14,8 @@ class AdvanceWrestler
def advance_raw
pool_to_bracket_advancement if @tournament.tournament_type == "Pool to bracket"
DoubleEliminationAdvance.new(@wrestler).bracket_advancement if @tournament.tournament_type == "Modified 16 Man Double Elimination"
DoubleEliminationAdvance.new(@wrestler).bracket_advancement if @tournament.tournament_type == "Modified 16 Man Double Elimination" or
@tournament.tournament_type == "Double Elimination 1-6"
end
def pool_to_bracket_advancement