Skip to content
Snippets Groups Projects
Commit 07479667 authored by De Brettes Thomas's avatar De Brettes Thomas
Browse files

Update index.js

parent 28f6a12f
No related branches found
No related tags found
No related merge requests found
...@@ -791,6 +791,7 @@ function estEchecEtMat(pieceAttack , rowPiece, colPiece) { ...@@ -791,6 +791,7 @@ function estEchecEtMat(pieceAttack , rowPiece, colPiece) {
if (player.isBlackPlayer===true){ if (player.isBlackPlayer===true){
[kingRow, kingCol] = find_pieces("K", board); [kingRow, kingCol] = find_pieces("K", board);
} }
<<<<<<< Updated upstream
else{ else{
[kingRow, kingCol] = find_pieces("k", board); [kingRow, kingCol] = find_pieces("k", board);
} }
...@@ -901,6 +902,8 @@ function peutIntercepter(kingRow, kingCol, board, attaquant, movesAttaquant) { ...@@ -901,6 +902,8 @@ function peutIntercepter(kingRow, kingCol, board, attaquant, movesAttaquant) {
} }
return false; return false;
} }
=======
>>>>>>> Stashed changes
socket.on('update-timer', (gameState) => { socket.on('update-timer', (gameState) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment