Permalink
Browse files

make penalty worse for an error response

  • Loading branch information...
rchatley committed Sep 17, 2012
1 parent 36d38c2 commit 90e439b762b74753347f3985ce4aee0622250a8e
Showing with 2 additions and 2 deletions.
  1. +1 −1 features/basic_scoring.feature
  2. +1 −1 lib/extreme_startup/scoreboard.rb
@@ -40,4 +40,4 @@ Feature: Basic Scoring
And the game is played for 1 second
Then the scores should be:
| player | score |
- | ernie | -5 |
+ | ernie | -50 |
@@ -64,7 +64,7 @@ def score(question, leaderboard_position)
case question.result
when "correct" then question.points
when "wrong" then @lenient ? allow_passes(question, leaderboard_position) : penalty(question, leaderboard_position)
- when "error_response" then -5
+ when "error_response" then -50
when "no_server_response" then -20
else puts "!!!!! unrecognized result '#{question.result}' from #{question.inspect} in Scoreboard#score"
end

0 comments on commit 90e439b

Please sign in to comment.