Files
Horror-Game/index.html
2026-03-19 14:06:41 -04:00

47 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Horror Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game-container"></div>
<div id="ui-container">
<div id="loading-screen">
<h1>INITIALIZING...</h1>
<div class="loader"></div>
</div>
<div id="start-screen" style="display: none;">
<h1>SUBJECT #096 CONTAINMENT</h1>
<p>CLICK TO BEGIN</p>
<p class="controls">WASD to Move | Mouse to Look | F Flashlight | P Debug</p>
</div>
<div id="hud" style="display: none;">
<div id="battery">Battery: <span id="battery-level">100%</span></div>
<div id="flares">Flares: <span id="flare-count">3</span></div>
<div id="stamina-container">
<div id="stamina-bar"></div>
</div>
<div id="heartbeat">
<svg viewBox="0 0 100 100" class="heart-icon">
<path
d="M50 88.9L16.7 55.6C7.2 46.1 7.2 30.9 16.7 21.4s24.7-9.5 33.3 0C58.6 11.9 74.1 11.9 83.3 21.4s9.5 24.7 0 34.2L50 88.9z" />
</svg>
</div>
</div>
<div id="debug-log"
style="position: absolute; top: 10px; left: 10px; z-index: 10000; color: lime; font-family: monospace; pointer-events: none; background: rgba(0,0,0,0.8); max-height: 50%; overflow-y: auto; font-size: 12px; padding: 10px; width: 300px; display: none;">
</div>
<div id="crosshair"></div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>