diff --git a/htdocs/index.js b/htdocs/index.js index 91667c3df5c60e6907892ff419804c11cfd15d7a..1b71f299577731ec3697cad3625de7b4220d9cea 100644 --- a/htdocs/index.js +++ b/htdocs/index.js @@ -791,6 +791,7 @@ function estEchecEtMat(pieceAttack , rowPiece, colPiece) { if (player.isBlackPlayer===true){ [kingRow, kingCol] = find_pieces("K", board); } +<<<<<<< Updated upstream else{ [kingRow, kingCol] = find_pieces("k", board); } @@ -901,6 +902,8 @@ function peutIntercepter(kingRow, kingCol, board, attaquant, movesAttaquant) { } return false; } +======= +>>>>>>> Stashed changes socket.on('update-timer', (gameState) => {