diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 22:25:47 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 22:25:47 -0400 |
commit | d4e4e9281ac707130281eff3beb4bd100dd07809 (patch) | |
tree | 3a91c85026956213b49e5303aa3cf8fa0fe23330 /lib/sampling/double_blind.rb.bak | |
parent | 8dcf94aa47869a61a7b03e3117187dee2ffb34f9 (diff) | |
parent | e46b38a457cf9cc685f644be741073df183f53b2 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/sampling/double_blind.rb.bak')
-rw-r--r-- | lib/sampling/double_blind.rb.bak | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/sampling/double_blind.rb.bak b/lib/sampling/double_blind.rb.bak new file mode 100644 index 0000000..6a30d57 --- /dev/null +++ b/lib/sampling/double_blind.rb.bak @@ -0,0 +1,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 |