Hinzufügen der Game Logik: Hinzufügen von Spieler-Management, Socket.IO-Integration und UI-Updates
This commit is contained in:
@@ -14,6 +14,7 @@ class StartGameHandler {
|
||||
this.countDownText.innerText = data.currentSecond;
|
||||
|
||||
if(data.needRedirect){
|
||||
this.socket.disconnect();
|
||||
window.location.pathname = `/game`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user