about summary refs log tree commit diff stats
path: root/html/rogue/index.html
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-12-24 15:53:19 -0500
committerelioat <elioat@tilde.institute>2024-12-24 15:53:19 -0500
commit8d4ebce0ef9eb7495e2b27a9a4df5f6001f7e65f (patch)
treed5a394ab15985715a70c1fb4ed8c4c09dcb65da4 /html/rogue/index.html
parentbb977cc4e502e3d35f3c82e1fca1a3535fda5e19 (diff)
downloadtour-8d4ebce0ef9eb7495e2b27a9a4df5f6001f7e65f.tar.gz
*
Diffstat (limited to 'html/rogue/index.html')
-rw-r--r--html/rogue/index.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/html/rogue/index.html b/html/rogue/index.html
index e564517..2920841 100644
--- a/html/rogue/index.html
+++ b/html/rogue/index.html
@@ -1,15 +1,10 @@
 <!DOCTYPE html>
-<html lang="en">
+<html>
 <head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Rogue</title>
     <style>
-        body, html {
+        body {
             margin: 0;
-            padding: 0;
-            width: 100%;
-            height: 100%;
             overflow: hidden;
         }
         canvas {
@@ -19,9 +14,13 @@
 </head>
 <body>
     <canvas id="gameCanvas"></canvas>
+    <!-- Load renderer.js first since other files depend on its functions -->
+    <script src="js/renderer.js"></script>
+    <script src="js/input.js"></script>
     <script src="js/world.js"></script>
     <script src="js/player.js"></script>
     <script src="js/camera.js"></script>
+    <!-- Load rogue.js last as it uses functions from all other files -->
     <script src="js/rogue.js"></script>
 </body>
 </html>