diff --git a/src/tetris_frontend/src/routes/+page.svelte b/src/tetris_frontend/src/routes/+page.svelte index 4921d60..a93dcb8 100644 --- a/src/tetris_frontend/src/routes/+page.svelte +++ b/src/tetris_frontend/src/routes/+page.svelte @@ -276,6 +276,7 @@ this._spawnNewPiece(); this.canStore = true; this.accumulator = 0; + if (!this._canSpawn()) this._gameOver(); } _rotatePiece(direction) {