Relaunch: Navy/Weiß-Design, Landingpage, Regeln, Chat-Overlay (Baseline)

Sichert den bisherigen Relaunch-Stand vor dem Gameplay/Community-Update:
- Neues helles Design auf allen Seiten (Landing, Spiel, Login, Profil, Admin, Setup)
- index.html = Landingpage, play.html = Spiel, regeln/datenschutz/impressum
- Chat-Overlay mit Emoji + Giphy-GIF, Lobby Teilnehmen/Starten, App-Shell

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
danny 2026-06-15 06:20:27 +02:00
parent 188e8e52a2
commit cb3e15ef85
21 changed files with 2596 additions and 1586 deletions

View file

@ -6,7 +6,7 @@
*/
declare(strict_types=1);
const LATEST_MIGRATION = 8;
const LATEST_MIGRATION = 10;
function runMigrations(PDO $pdo, string $dbname): void
{
@ -179,6 +179,20 @@ function runMigrations(PDO $pdo, string $dbname): void
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci");
markMigration($pdo, 8);
}
// ── V9: Spieler-Namensfarbe ───────────────────────────────────
if ($current < 9) {
addColumnIfMissing($pdo, $dbname, 'gtl_users', 'color',
'VARCHAR(7) NULL DEFAULT NULL');
markMigration($pdo, 9);
}
// ── V10: Echte Frage für Imposter aufdecken (Leiter-Knopf) ────
if ($current < 10) {
addColumnIfMissing($pdo, $dbname, 'gtl_rooms', 'questions_revealed',
'TINYINT(1) NOT NULL DEFAULT 0');
markMigration($pdo, 10);
}
}
// ── Hilfsfunktionen ──────────────────────────────────────────