Compare commits

...

4 Commits
dev ... master

Author SHA1 Message Date
Jérémi N ‘EndMove’
c59a35cf62 Merge pull request 'fixing mobile compatibility' (#3) from dev into master
Reviewed-on: EndMove/EndG-2048#3
2022-10-23 20:16:20 +00:00
le FAST
61a098e7a8 Merge pull request 'Alors, tiens tiens tiens' (#2) from jeffcheasey88-patch-1 into master
Reviewed-on: EndMove/EndG-2048#2
Reviewed-by: Jérémi N ‘EndMove’ <endmove@noreply@endmove.eu>
2022-10-18 07:00:15 +00:00
le FAST
6a92e289af Alors, tiens tiens tiens
ajout d'un console.log pour voir le score finale
2022-10-18 06:57:32 +00:00
le FAST
0e2ba86c10 Merge pull request 'refactor archi' (#1) from dev into master
Reviewed-on: EndMove/EndG-2048#1
Reviewed-by: le FAST <jeffcheasey88@noreply@endmove.eu>
2022-10-18 06:16:09 +00:00

View File

@ -83,6 +83,7 @@ GameManager.prototype.actuate = function () {
// Clear the state when the game is over (game over only, not win)
if (this.over) {
console.log("over "+this.score);
this.storageManager.clearGameState();
} else {
this.storageManager.setGameState(this.serialize());