about summary refs log tree commit diff stats
path: root/html/broughlike
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-10-27 16:34:41 -0400
committerelioat <elioat@tilde.institute>2024-10-27 16:34:41 -0400
commitbc05b83e840c9ea6240efeca5b740fd73834aa00 (patch)
treeeedfc56cf12e939fb6dd2aa92c6a746ee0b7075c /html/broughlike
parentc80e0359a67eb9a77df5287b6d19dcb079cad014 (diff)
downloadtour-bc05b83e840c9ea6240efeca5b740fd73834aa00.tar.gz
*
Diffstat (limited to 'html/broughlike')
-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;