Skip to content

Commit

Permalink
change no-answer to no-server-response
Browse files Browse the repository at this point in the history
  • Loading branch information
rchatley committed Jul 1, 2012
1 parent 79c89e7 commit ce4825f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/extreme_startup/question_factory.rb
Expand Up @@ -22,7 +22,7 @@ def ask(player)
end
rescue => exception
puts exception
@problem = "no_answer"
@problem = "no_server_response"
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/extreme_startup/scoreboard.rb
Expand Up @@ -40,7 +40,7 @@ def score(question, leaderboard_position)
when "correct" then question.points
when "wrong" then penalty(question.points, leaderboard_position)
when "error_response" then -5
when "no_answer" then -20
when "no_server_response" then -20
else puts "!!!!! unrecognized result '#{question.result}' from #{question.inspect} in Scoreboard#score"
end
end
Expand Down
4 changes: 2 additions & 2 deletions public/css/style.css
Expand Up @@ -9,12 +9,12 @@ li { display: block; }

.logline {margin:2px; padding:3px; display:inline-block}
.logline.id {width:100}
.logline.result {width:150}
.logline.result {width:200}
.logline.points {width:200}
.logline.correct {background-color:#7cfc00}
.logline.pass {background-color:#eed5b7}
.logline.wrong {background-color:#ffaa00}
.logline.no_answer {background-color:#ff4500}
.logline.no_server_response {background-color:#ff4500}
.logline.error_response {background-color:#ff4500}

.ranking {margin:2px; padding:3px; display:inline-block; background-color:#eed5b7}
Expand Down

0 comments on commit ce4825f

Please sign in to comment.