1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-09 23:33:26 +00:00

Added 16 man modified double elimination bracket type. Still need to fix swap wrestlers code.

This commit is contained in:
2020-01-23 07:46:23 -05:00
parent 314124107c
commit ff102a1862
18 changed files with 744 additions and 265 deletions

View File

@@ -0,0 +1,53 @@
class PlacementPoints
def initialize(number_of_placers)
@number_of_placers = number_of_placers
end
def firstPlace
if @number_of_placers == 4
return 14
else
return 16
end
end
def secondPlace
if @number_of_placers == 4
return 10
else
return 12
end
end
def thirdPlace
if @number_of_placers == 4
return 9
else
return 7
end
end
def fourthPlace
if @number_of_placers == 4
return 4
else
return 7
end
end
def fifthPlace
5
end
def sixthPlace
3
end
def seventhPlace
2
end
def eighthPlace
1
end
end