diff --git a/web/package-lock.json b/web/package-lock.json index 614034f..630efd0 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -38,6 +38,7 @@ "extraneous": true }, "../rust/pkg": { + "name": "wasm-game-of-life", "version": "0.1.0" }, "node_modules/@alloc/quick-lru": { diff --git a/web/src/index.html b/web/src/index.html index b3a751e..1c883eb 100644 --- a/web/src/index.html +++ b/web/src/index.html @@ -57,6 +57,7 @@ id="speed" /> +
diff --git a/web/src/js/life.js b/web/src/js/life.js index 9e1132e..04383be 100644 --- a/web/src/js/life.js +++ b/web/src/js/life.js @@ -192,4 +192,4 @@ const drawCells = () => { drawGrid(); drawCells(); -play(); +pause();