slavic_game_jam/index.html
kuhyx 684646e53e Add game over mechanic - dangerous squares now end the game
- Entering any dangerous square (visual or audio) now ends the game
- Added game over sound effect with descending melody
- Game over triggers restart from beginning
- Updated UI messages to reflect deadly nature of dangers
- Enhanced challenge: no second chances, must complete without touching dangers
- Updated documentation to reflect new high-stakes gameplay
2025-08-01 16:46:54 +02:00

29 lines
1.0 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Danger Field Game</title>
</head>
<body>
<div id="app">
<div class="game-container">
<h1>Danger Field Game</h1>
<div class="game-info">
<p>Use WASD or Arrow Keys to move</p>
<p class="visual-warning">⚠️ Red squares are deadly - avoid them!</p>
<p class="audio-warning">🔊 Hidden dangers end the game - listen carefully!</p>
<p class="audio-hint">🎧 Use headphones for best directional audio experience</p>
</div>
<canvas id="gameCanvas" width="800" height="600"></canvas>
<div class="controls">
<button id="soundToggle">🔊 Sound: ON</button>
<button id="vibrationToggle">📳 Vibration: ON</button>
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>