better results
This commit is contained in:
@@ -57,13 +57,13 @@ if (typeof(sw) == 'undefined') {
|
||||
var gameOver = function() {
|
||||
var result = 'AWESOME!';
|
||||
|
||||
if (sw.wrongWords > 0 || sw.finaltime > 70) {
|
||||
if (sw.finaltime > 33) {
|
||||
result = 'You can do better!';
|
||||
};
|
||||
if (sw.wrongWords > 0 || sw.finaltime > 90) {
|
||||
if (sw.finaltime > 36) {
|
||||
result = 'meh...';
|
||||
};
|
||||
if (sw.wrongWords > 0 && sw.finaltime <= 80) {
|
||||
if (sw.wrongWords > 0 && sw.finaltime <= 32) {
|
||||
result = 'You are fast, but you made errors';
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user