mirror of
https://github.com/kuhyx/slavic_game_jam.git
synced 2026-07-04 15:23:13 +02:00
- 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
29 lines
1.0 KiB
HTML
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>
|