diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 03:04:09 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 03:04:09 -0400 |
commit | 987b3e0d151d58c6b44e16e3ec4d13ce7f303fe7 (patch) | |
tree | 24971fe4b80e1dd4b6d27b9041945ffb7163748d /lib/sampling/double_blind.rb | |
parent | 125d861972b9fcd99147d67b0e8fe4102f96190e (diff) |
get the tournament creation page complete
Diffstat (limited to 'lib/sampling/double_blind.rb')
-rw-r--r-- | lib/sampling/double_blind.rb | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/lib/sampling/double_blind.rb b/lib/sampling/double_blind.rb index 4a5201c..409da10 100644 --- a/lib/sampling/double_blind.rb +++ b/lib/sampling/double_blind.rb @@ -1,7 +1,35 @@ module Sampling module DoubleBlind - def works_with?(game) + 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 |