add win/draw menu , and add english
This commit is contained in:
12
www/js/EndGameScreen.js
Normal file
12
www/js/EndGameScreen.js
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user