Hinzufügen der Game Logik: Hinzufügen von Spieler-Management, Socket.IO-Integration und UI-Updates

This commit is contained in:
2025-04-01 16:16:26 +02:00
parent 5a2eaf74ca
commit 2c9a14db9a
10 changed files with 64 additions and 9 deletions

View File

@@ -14,6 +14,7 @@ class StartGameHandler {
this.countDownText.innerText = data.currentSecond;
if(data.needRedirect){
this.socket.disconnect();
window.location.pathname = `/game`;
}
}