Add Guess Game page and UI/JS support
Introduce a new Guess The Rank feature: add guess.html and associated styles and logic. app.js gains video modal utilities (extractYouTubeID, openVideoModal, renderApprovedRunsForLevel) and the full guessing-game flow (modes, round lifecycle, input handling). Refactor existing video-open usage to the new modal and enable showing approved runs in the modal. Update multiple navs and index highlights to link to the new Guess Game. Add CSS for guess UI and responsive tweaks, and adjust some UI copy (e.g. "View Video").
This commit is contained in:
1 parent
de621e50e9
commit
b4c6c48958
11 files changed
+333
-60
No files matched your search
+6
-1
@@ -11,6 +11,7 @@
|
||||
<h1>Demon Roulette</h1>
|
||||
<nav>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="guess.html">Guess Game</a>
|
||||
<a href="lists.html">Lists</a>
|
||||
<a href="run.html">Submit Run</a>
|
||||
<a href="players.html">Players</a>
|
||||
@@ -36,7 +37,7 @@
|
||||
<p class="roulette-rank" id="roulette-rank">Rank: -</p>
|
||||
<p class="roulette-meta" id="roulette-level-id">Level ID: -</p>
|
||||
<p class="roulette-note muted" id="roulette-note">Level IDs come from your local file first, then API lookup if needed.</p>
|
||||
<a class="btn roulette-open" id="roulette-open" href="#" target="_blank" rel="noopener noreferrer" hidden>Open Video</a>
|
||||
<a class="btn roulette-open" id="roulette-open" href="#" target="_blank" rel="noopener noreferrer" hidden>View Video</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -60,6 +61,10 @@
|
||||
<strong>Extra data included</strong>
|
||||
<p>This page shows rank and level ID, and it tries API lookup when local info is missing.</p>
|
||||
</article>
|
||||
<article>
|
||||
<strong>Want another mode?</strong>
|
||||
<p>Open the separate Guess Game page if you want to figure out a level's rank with higher or lower hints.</p>
|
||||
</article>
|
||||
</div>
|
||||
</aside>
|
||||
</section>
|
||||
|
||||
Reference in new issue
Block a user