function remark(responseTime)
{
var responseString="";
if (responseTime > 0 && responseTime <0.01)
responseString="你还是人吗?"
if (responseTime >.01 && responseTime <.05 )
responseString="你快如闪电啊!";
if (responseTime >= 0.05 && responseTime <.10)
responseString="干得漂亮";
if (responseTime >= 0.10 && responseTime < 0.20)
responseString="不错!";
if (responseTime >=0.20 && responseTime < 0.30)
responseString="还可以更好...";
if (responseTime >=0.30 && responseTime < 0.60)
responseString="多加练习!";
if (responseTime >=0.60 && responseTime < 1)
responseString="喝醉酒了?";
if (responseTime >=1)
responseString="我想你是睡着了!";
return responseString;
} |