Class representing a scoring strategy where correct picks are worth the seed number of the winner times a per round multiplier (1,2,4,8,12,22)
(Not documented)
# File lib/tournament/scoring_strategy.rb, line 85 85: def description 86: "Each correct pick is worth the seed number of the winning team times a per round multiplier: #{MULTIPLIERS.join(', ')}" 87: end
(Not documented)
# File lib/tournament/scoring_strategy.rb, line 82 82: def name 83: 'Tweaked Josh Patashnik' 84: end
(Not documented)
# File lib/tournament/scoring_strategy.rb, line 76 76: def score(pick, winner, loser, round) 77: if winner != Tournament::Bracket::UNKNOWN_TEAM && pick == winner 78: return MULTIPLIERS[round-1] * winner.seed 79: end 80: return 0 81: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.