about summary refs log tree commit diff stats
path: root/html/text-world/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/text-world/index.html')
-rw-r--r--html/text-world/index.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/html/text-world/index.html b/html/text-world/index.html
new file mode 100644
index 0000000..42f4984
--- /dev/null
+++ b/html/text-world/index.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Text Adventure</title>
+    <style>
+        #game-container {
+            max-width: 800px;
+            margin: 20px auto;
+            font-family: monospace;
+        }
+        #output {
+            background: #1a1a1a;
+            color: #fff;
+            padding: 20px;
+            min-height: 300px;
+            max-height: 500px;
+            overflow-y: auto;
+            margin-bottom: 10px;
+        }
+        #input {
+            width: 100%;
+            padding: 10px;
+            box-sizing: border-box;
+        }
+    </style>
+</head>
+<body>
+    <div id="game-container">
+        <div id="output"></div>
+        <input type="text" id="input" placeholder="Enter your command..." autocomplete="off">
+    </div>
+   
+    <script src="js/b.js"></script>
+    <script src="js/where.js"></script>
+    <script src="js/ecs.js"></script>
+    <script src="js/worldgen.js"></script>
+    <script src="js/game.js"></script>
+</body>
+</html>
\ No newline at end of file