summaryrefslogtreecommitdiff
path: root/lib/scoring_algorithms/MarginalPeer.rb
blob: 0e1cfa845fa1a1106dae47569d1016b42bec31c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'ScoringAlgorithm'

class MarginalPeer < ScoringAlgorithm

	def self.score(match, interface)
		match.players.each do |player|
			scores[player.user_name] = scoreUser(interface.getStatistic(match, player, rating))
		end
		scores
	end

	def self.score(rating)
		rating
	end
end