From 2448dd359f10046640e1945a4d61b75ebf38a79a Mon Sep 17 00:00:00 2001 From: elioat Date: Sun, 7 Jul 2024 10:05:26 -0400 Subject: * --- js/puzzle-dungeon/commandHandler.js | 1 - js/puzzle-dungeon/game.js | 1 - js/puzzle-dungeon/index.html | 4 ++-- js/puzzle-dungeon/parser.js | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) (limited to 'js/puzzle-dungeon') 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; } 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) { -- cgit 1.4.1-2-gfad0