add password start modal, VIP hearts, difficulty, and new biome hazards

This commit is contained in:
OpenClaw Engineer
2026-03-04 06:58:36 -06:00
parent df3f1e513e
commit a848a6854b
3 changed files with 284 additions and 54 deletions
+24
View File
@@ -14,6 +14,30 @@
<canvas id="game" width="960" height="540" aria-label="Dino Land game canvas"></canvas>
<div id="startScreen">
<div class="panel">
<h1>Start Dino Land</h1>
<form id="startForm">
<label for="startPassword">Password</label>
<input id="startPassword" type="password" required placeholder="Enter password" />
<label class="inline-option" for="vipMode">
<input id="vipMode" type="checkbox" /> VIP mode (6 hearts)
</label>
<label for="difficulty">Difficulty</label>
<select id="difficulty">
<option value="easy">Easy</option>
<option value="medium" selected>Medium</option>
<option value="hard">Hard</option>
</select>
<p id="startError" class="error"></p>
<button type="submit">Start Game</button>
</form>
</div>
</div>
<div id="deathScreen" class="hidden">
<div class="panel">
<h1>TRex Down!</h1>