You are not my master

This commit is contained in:
alexandre-pereira
2015-03-18 19:47:36 +01:00
parent 827fc50875
commit 4570db86fe
8 changed files with 44 additions and 36 deletions

View File

@ -259,7 +259,7 @@
if (self.flippedTiles == self.numTiles) {
self._winGame();
}
}, 1500 );
}, 500 );
// plus one on the move counter
this._gameCounterPlusOne();
@ -364,7 +364,6 @@ Memory.prototype._winGame = function() {
firework();
this.gameMessages.innerHTML = '<h2 class="mg__onend--heading"><span class="icon-trophy"></span></h2>\
<p class="mg__onend--message">Vous avez gagné votre partie en ' + this.numMoves + ' coups !</p>\
<button id="mg__onend--restart" class="mg__button"><span class="icon-spinner11"></span></button>';
//var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! ";