diff --git a/lib/extreme_startup/question_factory.rb b/lib/extreme_startup/question_factory.rb index 27e8883..9803f93 100644 --- a/lib/extreme_startup/question_factory.rb +++ b/lib/extreme_startup/question_factory.rb @@ -22,7 +22,7 @@ def ask(player) end rescue => exception puts exception - @problem = "no_answer" + @problem = "no_server_response" end end diff --git a/lib/extreme_startup/scoreboard.rb b/lib/extreme_startup/scoreboard.rb index 2dfd629..1cc5ffa 100644 --- a/lib/extreme_startup/scoreboard.rb +++ b/lib/extreme_startup/scoreboard.rb @@ -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 diff --git a/public/css/style.css b/public/css/style.css index 37d6f40..592f675 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -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}