summaryrefslogtreecommitdiff
path: root/lib/sampling/double_blind.rb
blob: 409da10a43d95aecbe93f2d4c25b28259c3dd77d (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 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)
			# TODO
		end

		def self.sampling_done?(match)
			# TODO
		end

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

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