blob: 42f49842cbcee99c462418390d6c108c4ad6053d (
plain) (
tree)
|
|
<!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>
|