about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--html/broughlike/index.html17
1 files changed, 6 insertions, 11 deletions
diff --git a/html/broughlike/index.html b/html/broughlike/index.html
index a1d9650..5d3181d 100644
--- a/html/broughlike/index.html
+++ b/html/broughlike/index.html
@@ -76,33 +76,28 @@
             combatDotBoss: '#b70030'
         };
 
-        // FIXME: Scopingm and whatnot.
         // let hardMode = localStorage.getItem('hardMode') || false;
-        let hardModeModifier = 0;
+        // let hardModeModifier = hardMode ? 10 : 0;
         // const toggleHardMode = () => {
         //     hardMode = !hardMode;
         //     localStorage.setItem('hardMode', hardMode);
         //     document.getElementById('toggleHardMode').textContent = hardMode ? 'Hard Mode Off' : 'Hard Mode On';
-        //     if (hardMode) {
-        //         hardModeModifier = 10;
-        //     } else {
-        //         hardModeModifier = 0;
-        //     }
+        //     hardModeModifier = hardMode ? 10 : 0;
         //     resetGame();
         // };
 
-        const GRID_SIZE = 6 + hardModeModifier;
+        const GRID_SIZE = 6;
         const PLAYER_HEALTH = 12;
         const PLAYER_MAX_HEALTH = 16;
         const PLAYER_BASE_DAMAGE = 1;
-        const ENEMY_CHASE_DISTANCE = 4 + hardModeModifier;
+        const ENEMY_CHASE_DISTANCE = 4;
         const ENEMY_BOSS_OCCURRENCE = 10;
         const MIN_ENEMIES_ON_LEVEL = 1;
-        const MAX_ENEMIES_ON_LEVEL = 4 + hardModeModifier;
+        const MAX_ENEMIES_ON_LEVEL = 4;
         const MAX_ENEMY_HEALTH = 7;
         const MIN_ENEMY_HEALTH = 2;
         const WALLS_MIN = 5;
-        const WALLS_MAX = 20 + hardModeModifier;
+        const WALLS_MAX = 20;
         const ITEMS_MIN = 1;
         const ITEMS_MAX = 3;
         const DOTS_PER_HIT = 7;