about summary refs log tree commit diff stats
path: root/html/rogue/index.html
diff options
context:
space:
mode:
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>