This commit is contained in:
DonRenando 2015-03-31 00:14:05 +02:00
parent b35a04146a
commit e3ba824639
5 changed files with 1 additions and 1 deletions

View File

@ -352,11 +352,11 @@
this.game.appendChild(this.gameMessages);
document.getElementById("mg__onend--restart").addEventListener( "click", function(e) {
document.location.href="/memo";
});
var temps = Math.ceil(((new Date()) - dateDebut)/60000);
var texteADire = (temps <= 1) ? "Bravo, tu as mis moins d'une minute." :
"Bravo, tu as mis "+temps+" minutes. ";;
responsiveVoice.speak(texteADire, "French Female");
});
} else {
// run callback
this.options.onGameEnd();

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB