audio3
This commit is contained in:
parent
b35a04146a
commit
e3ba824639
@ -352,11 +352,11 @@
|
|||||||
this.game.appendChild(this.gameMessages);
|
this.game.appendChild(this.gameMessages);
|
||||||
document.getElementById("mg__onend--restart").addEventListener( "click", function(e) {
|
document.getElementById("mg__onend--restart").addEventListener( "click", function(e) {
|
||||||
document.location.href="/memo";
|
document.location.href="/memo";
|
||||||
|
});
|
||||||
var temps = Math.ceil(((new Date()) - dateDebut)/60000);
|
var temps = Math.ceil(((new Date()) - dateDebut)/60000);
|
||||||
var texteADire = (temps <= 1) ? "Bravo, tu as mis moins d'une minute." :
|
var texteADire = (temps <= 1) ? "Bravo, tu as mis moins d'une minute." :
|
||||||
"Bravo, tu as mis "+temps+" minutes. ";;
|
"Bravo, tu as mis "+temps+" minutes. ";;
|
||||||
responsiveVoice.speak(texteADire, "French Female");
|
responsiveVoice.speak(texteADire, "French Female");
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
// run callback
|
// run callback
|
||||||
this.options.onGameEnd();
|
this.options.onGameEnd();
|
||||||
|
BIN
SRC/public/pictures/user_picture/1
Normal file
BIN
SRC/public/pictures/user_picture/1
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
BIN
SRC/public/pictures/user_picture/2
Normal file
BIN
SRC/public/pictures/user_picture/2
Normal file
Binary file not shown.
After Width: | Height: | Size: 362 KiB |
BIN
SRC/public/pictures/user_picture/3
Normal file
BIN
SRC/public/pictures/user_picture/3
Normal file
Binary file not shown.
After Width: | Height: | Size: 528 KiB |
BIN
SRC/public/pictures/user_picture/4
Normal file
BIN
SRC/public/pictures/user_picture/4
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
Reference in New Issue
Block a user