fix results
This commit is contained in:
@@ -47,12 +47,12 @@ if (typeof(sw) == 'undefined') {
|
|||||||
sw.gameover = true;
|
sw.gameover = true;
|
||||||
var result = 'Sehr gut!';
|
var result = 'Sehr gut!';
|
||||||
|
|
||||||
if (sw.wrongWords > 1 || sw.finaltime > 60) {
|
|
||||||
result = 'geht so...';
|
|
||||||
};
|
|
||||||
if (sw.wrongWords > 1 || sw.finaltime > 50) {
|
if (sw.wrongWords > 1 || sw.finaltime > 50) {
|
||||||
result = 'Du kannst das besser!';
|
result = 'Du kannst das besser!';
|
||||||
};
|
};
|
||||||
|
if (sw.wrongWords > 1 || sw.finaltime > 60) {
|
||||||
|
result = 'geht so...';
|
||||||
|
};
|
||||||
if (sw.wrongWords > 1 && sw.finaltime < 40) {
|
if (sw.wrongWords > 1 && sw.finaltime < 40) {
|
||||||
result = 'Du bist sehr schnell, aber du hast Fehler gemacht';
|
result = 'Du bist sehr schnell, aber du hast Fehler gemacht';
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user