From bf0f6e48e9c8267d82b5e591df85c0643e8d81cf Mon Sep 17 00:00:00 2001 From: Brian Fertig Date: Thu, 12 Feb 2026 23:50:40 -0700 Subject: [PATCH] Update to level watch --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e61e4cd..24a5f11 100644 --- a/index.html +++ b/index.html @@ -600,9 +600,9 @@ linesClearedTotal += rowCount; - // Level Up Logic: Every 8 rows - if (linesClearedTotal % 5 === 0) { - levelUp(); + // Level Up Logic: Every 5 rows + while (linesClearedTotal >= level * 5) { + levelUp(); // increments `level` and updates UI } } }