diff options
author | elioat <{ID}+{username}@users.noreply.github.com> | 2024-12-27 10:12:40 -0500 |
---|---|---|
committer | elioat <{ID}+{username}@users.noreply.github.com> | 2024-12-27 10:12:40 -0500 |
commit | 558906f2349403e781c78e0385b70a08d320a21e (patch) | |
tree | 3fe1985fbd0f7c8cb131e940b9ba4e42a4c3cc6f /html/text-world/index.html | |
parent | 17a21fefda47f5c6d70c450dd6782e1c1e2d5877 (diff) | |
download | tour-558906f2349403e781c78e0385b70a08d320a21e.tar.gz |
*
Diffstat (limited to 'html/text-world/index.html')
-rw-r--r-- | html/text-world/index.html | 41 |
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 |