dao-game / commit
Console cleanup.
game.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/game.js b/game.js index 5de5c28..2ebe3d0 100644 --- a/game.js +++ b/game.js @@ -279,9 +279,7 @@ const makeMove = async (destIndex) => { },], { duration: 1000, iterations: 1 }); // await animations - console.error('starting animation') await Promise.all([sourceAnimation.finished, destAnimation.finished]); - console.error('animations done') // remove old piece piece.parentNode.removeChild(piece); @@ -353,8 +351,6 @@ const doCoordsFormSquare = (coords) => { }; const checkForWin = () => { - console.error(`testing win for ${isRedTurn ? 'red' : 'blue'}`); - const playerCoords = elementsToCoords( isRedTurn ? redPieces() : bluePieces()) const otherCoords = elementsToCoords(