Files
ChessCubing/www/js/EndGameScreen.js

13 lines
274 B
JavaScript

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"
}