Class representing a scoring strategy where correct picks are worth 2 X the round number
Methods
Public Instance methods
[ show source ]
# File lib/tournament/bracket.rb, line 15
15: def description
16: "Each game is worth 2 times the round number."
17: end
[ show source ]
# File lib/tournament/bracket.rb, line 12
12: def score(pick, winner, loser, round)
13: winner != UNKNOWN_TEAM && pick == winner ? round * 2 : 0
14: end