From 9ccf05179c946355646de2a94cab14b54bc6d87f Mon Sep 17 00:00:00 2001 From: elioat Date: Sun, 7 Jul 2024 09:57:36 -0400 Subject: * --- js/puzzle-dungeon/game.js | 2 +- js/puzzle-dungeon/index.html | 39 +++++++++++++++++++++++++++++---------- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/js/puzzle-dungeon/game.js b/js/puzzle-dungeon/game.js index 4ca91d3..4c83ea2 100644 --- a/js/puzzle-dungeon/game.js +++ b/js/puzzle-dungeon/game.js @@ -119,7 +119,7 @@ export function initializeGame() { export function resizeCanvas() { const canvas = document.getElementById('gameCanvas'); - const width = Math.min(window.innerWidth, window.innerHeight) * 0.9; + const width = Math.min(window.innerWidth, window.innerHeight) * 0.5; canvas.width = width; canvas.height = width; drawGrid(grid); diff --git a/js/puzzle-dungeon/index.html b/js/puzzle-dungeon/index.html index c183ea0..89f1869 100644 --- a/js/puzzle-dungeon/index.html +++ b/js/puzzle-dungeon/index.html @@ -3,28 +3,48 @@ Puzzle Game + +

+ Health: 10 / + Endurance: 10 / + Score: 0 / + (0, 0) +

+

Inventory: []


-
-

Player Status

-

Position: (0, 0)

-

Health: 10

-

Endurance: 10

-

Inventory: []

-

Score: 0

-
-- cgit 1.4.1-2-gfad0