diff options
-rw-r--r-- | js/puzzle-dungeon/commandHandler.js | 1 | ||||
-rw-r--r-- | js/puzzle-dungeon/game.js | 1 | ||||
-rw-r--r-- | js/puzzle-dungeon/index.html | 4 | ||||
-rw-r--r-- | js/puzzle-dungeon/parser.js | 1 |
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) { |