feat: add tie screen and Android app download functionality
Some checks failed
Version Static Assets / version-assets (push) Failing after 9s
Build Android APK / build (push) Has been cancelled

- 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:
2026-01-31 08:13:39 +01:00
parent 85d49d55b6
commit 2e5f30451c
4 changed files with 561 additions and 5 deletions

View File

@@ -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>