feat: add tie screen and Android app download functionality
- Add tie screen showing eliminated players before tiebreaker - Excluded eliminated players from tiebreaker voting - Add Android app download button (web only) - Add version checking system for native app - Add update notification for outdated app versions - Add translations for new features (ES/EN)
This commit is contained in:
@@ -123,6 +123,12 @@
|
||||
<div class="welcome-buttons">
|
||||
<button onclick="showScreen('setup-screen')" class="btn-primary">Jugar</button>
|
||||
<button onclick="showScreen('rules-screen')" class="btn-secondary">Reglas</button>
|
||||
<a href="https://git.dariosevilla.es/dasemu/web-imposter-game/releases/download/latest/impostor-game.apk"
|
||||
class="btn-download"
|
||||
id="download-app-btn"
|
||||
style="display: none;">
|
||||
📱 Descargar App Android
|
||||
</a>
|
||||
</div>
|
||||
<p class="welcome-credits">Creado por Darío Sevilla</p>
|
||||
</div>
|
||||
@@ -268,6 +274,16 @@
|
||||
<button id="confirm-vote-btn" disabled onclick="confirmCurrentVote()">Confirmar voto</button>
|
||||
</div>
|
||||
|
||||
<!-- Tie screen -->
|
||||
<div id="tie-screen" class="screen">
|
||||
<h1>EMPATE</h1>
|
||||
<div class="tie-info">
|
||||
<p class="info-text"><strong id="tie-eliminated-label">JUGADOR/ES ELIMINADOS:</strong></p>
|
||||
<p class="eliminated-players" id="tie-eliminated-players"></p>
|
||||
</div>
|
||||
<button onclick="proceedToTiebreaker()">IR A DESEMPATE</button>
|
||||
</div>
|
||||
|
||||
<!-- Results screen -->
|
||||
<div id="results-screen" class="screen">
|
||||
<h1>Resultados</h1>
|
||||
|
||||
Reference in New Issue
Block a user