diff --git a/client/index.html b/client/index.html index e02102a..5f6958a 100644 --- a/client/index.html +++ b/client/index.html @@ -129,10 +129,19 @@ showGameOver("Mauvaise porte. Vous avez perdu."); } }) + + socket.on("victory", ()=> { + document.getElementById("victoryScreen").style.display = "block"; + myRole = null; + });
+