Initial commit.

Basic docker deployment with Local LLM integration and simple game state.
This commit is contained in:
Aodhan Collins
2025-08-17 19:31:33 +01:00
commit 912b205699
30 changed files with 2476 additions and 0 deletions

46
web/static/index.html Normal file
View File

@@ -0,0 +1,46 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Text Adventure - Web UI</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/static/styles.css" />
</head>
<body>
<header class="app-header">
<h1>Text Adventure</h1>
<div class="status" id="statusDot" title="Backend status"></div>
</header>
<main class="container">
<section id="chat" class="chat">
<div id="messages" class="messages" aria-live="polite"></div>
</section>
<form id="chatForm" class="input-row" autocomplete="off">
<input
id="messageInput"
type="text"
placeholder="Type your message..."
aria-label="Message"
required
/>
<button id="sendBtn" type="submit">Send</button>
</form>
</main>
<template id="msg-user">
<div class="msg msg-user">
<div class="bubble"></div>
</div>
</template>
<template id="msg-assistant">
<div class="msg msg-assistant">
<div class="bubble"></div>
</div>
</template>
<script src="/static/app.js" defer></script>
</body>
</html>