add win/draw menu , and add english

This commit is contained in:
2026-04-14 12:36:52 +02:00
parent a85b37fe80
commit 06b7770ba7
11 changed files with 478 additions and 32 deletions

12
www/js/EndGameScreen.js Normal file
View File

@@ -0,0 +1,12 @@
let Text_endgame = document.getElementById("whoWon")
function change_winner(who){
if (who) Text_endgame.innerText = "Les Blancs ont gagné"
if (!who) Text_endgame.innerText = "Les Noirs ont gagné"
}
function Draw(){
Text_endgame.innerText = "Match nulle"
}