diff --git a/script.js b/script.js index dfbb6e0..eecf2ec 100644 --- a/script.js +++ b/script.js @@ -27,6 +27,7 @@ let gameState = { playable: false, levelManager: new LevelManager( () => { alert("Toutes les bottes sont rangées"); + gameState.timer.stop(); } ), levelId: 0, }; diff --git a/todo.md b/todo.md index c726cee..7c7a93c 100644 --- a/todo.md +++ b/todo.md @@ -19,6 +19,7 @@ * Table with filled usernames ## Insectes + * Error when last level is successfully finished * Size of the canvas: tiles not squared with some levels - * alt tab starts game \ No newline at end of file + * Timer does not stop on win