about summary refs log tree commit diff stats
path: root/js/puzzle-dungeon
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-07-07 10:05:26 -0400
committerelioat <elioat@tilde.institute>2024-07-07 10:05:26 -0400
commit2448dd359f10046640e1945a4d61b75ebf38a79a (patch)
treeb70c2e664073e18dfe9e9358cb360d272f81a5a6 /js/puzzle-dungeon
parent9ccf05179c946355646de2a94cab14b54bc6d87f (diff)
downloadtour-2448dd359f10046640e1945a4d61b75ebf38a79a.tar.gz
*
Diffstat (limited to 'js/puzzle-dungeon')
-rw-r--r--js/puzzle-dungeon/commandHandler.js1
-rw-r--r--js/puzzle-dungeon/game.js1
-rw-r--r--js/puzzle-dungeon/index.html4
-rw-r--r--js/puzzle-dungeon/parser.js1
4 files changed, 2 insertions, 5 deletions
diff --git a/js/puzzle-dungeon/commandHandler.js b/js/puzzle-dungeon/commandHandler.js
index b6a8246..5eec5e0 100644
--- a/js/puzzle-dungeon/commandHandler.js
+++ b/js/puzzle-dungeon/commandHandler.js
@@ -1,4 +1,3 @@
-// commandHandler.js
 import { player, grid, drawGrid, updatePlayerPosition, updatePlayerStatus, alertGameOver } from './game.js';
 
 let commandQueue = [];
diff --git a/js/puzzle-dungeon/game.js b/js/puzzle-dungeon/game.js
index 4c83ea2..4362be8 100644
--- a/js/puzzle-dungeon/game.js
+++ b/js/puzzle-dungeon/game.js
@@ -1,4 +1,3 @@
-// game.js
 export let grid = createGrid(10, 10);  // Example grid size
 export let player = {
     position: { x: 0, y: 0 },
diff --git a/js/puzzle-dungeon/index.html b/js/puzzle-dungeon/index.html
index 89f1869..3d02487 100644
--- a/js/puzzle-dungeon/index.html
+++ b/js/puzzle-dungeon/index.html
@@ -9,7 +9,7 @@
             margin: 0;
             padding: 0 1em;
             max-width: 100%;
-            overflow-x: hidden; /* Prevent horizontal scrolling */
+            overflow-x: hidden; /* a stupid hack to say "no no no" to horizontal scrolling */
             display: block;
         }
         canvas {
@@ -28,7 +28,7 @@
             display: block;
             margin: 0 auto;
             width: 100%;
-            font-size: 16px; /* Prevent zoom on focus */
+            font-size: 16px;
         }
     </style>
 </head>
diff --git a/js/puzzle-dungeon/parser.js b/js/puzzle-dungeon/parser.js
index f962677..ad174a1 100644
--- a/js/puzzle-dungeon/parser.js
+++ b/js/puzzle-dungeon/parser.js
@@ -1,4 +1,3 @@
-// parser.js
 import { handleCommand } from './commandHandler.js';
 
 export function parseCommands(commands) {