summaryrefslogtreecommitdiff
path: root/lib/sampling/double_blind.rb.bak
blob: 6a30d5713d70fba312c8255fb3a858de75880634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module Sampling
	module DoubleBlind
		def self.works_with?(game)
			return true
		end

		def can_get?(setting_name)
			return 1
		end

		def self.uses_remote?
			return false
		end

		def self.set_remote_name(user, game, value)
			raise "This sampling method doesn't use remote usernames."
		end

		def self.get_remote_name(value)
			raise "This sampling method doesn't use remote usernames."
		end

		def self.sampling_start(match, statistics)
			# TODO
		end

		def self.render_user_interaction(match, user)
			# TODO
		end

		def self.handle_user_interaction(match, user, sampling_params)
			# TODO
		end
	end
end