mirror of
https://github.com/GoodStartLabs/AI_Diplomacy.git
synced 2026-04-19 12:58:09 +00:00
Reformating the project to have it's own directory, relying on TS
This makes the project able to use TS, and can be stood up using `npm run dev`
This commit is contained in:
parent
9591ce9eca
commit
39c8320484
1110 changed files with 1090 additions and 314620 deletions
39
ai_animation/index.html
Normal file
39
ai_animation/index.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Diplomacy Map (Fallback-Only)</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
|
||||
<div class="container">
|
||||
<div class="top-controls">
|
||||
<div>
|
||||
<button id="load-btn">Load Game</button>
|
||||
<button id="prev-btn" disabled>← Prev</button>
|
||||
<button id="next-btn" disabled>Next →</button>
|
||||
<button id="play-btn" disabled>▶ Play</button>
|
||||
<select id="speed-selector" disabled>
|
||||
<option value="1000">Slow</option>
|
||||
<option value="500" selected>Medium</option>
|
||||
<option value="200">Fast</option>
|
||||
</select>
|
||||
<span id="phase-display">No game loaded</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="map-view" class="map-view"></div>
|
||||
<input type="file" id="file-input" accept=".json">
|
||||
<div id="info-panel"></div>
|
||||
<!-- New leaderboard element -->
|
||||
<div id="leaderboard"></div>
|
||||
<!-- Chat windows container -->
|
||||
<div id="chat-container"></div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue