X-Git-Url: https://git.auder.net/pieces/Checkered/cp.svg?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fgame.js;h=b91d72c0b89d7819287bc6e7f67de8fee1359ba5;hb=b8121223012a3eb331022adc465bbfb4014363c8;hp=5690eb14e96ccd8df485e5131b42c338ea2fa1f2;hpb=f3c10e18c1585f043e22b875e9755814fa9218d7;p=vchess.git diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index 5690eb14..b91d72c0 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -574,6 +574,7 @@ Vue.component('my-game', { this.newGame("computer"); }, newGame: function(mode, fenInit, color, oppId, moves, continuation) { + //const fen = "qrbnkbrn/pppppppp/8/8/8/8/PPPPPPPP/BNNBRKRQ 1111";//fenInit || VariantRules.GenRandInitFen(); const fen = fenInit || VariantRules.GenRandInitFen(); console.log(fen); //DEBUG this.score = "*"; @@ -675,7 +676,6 @@ Vue.component('my-game', { this.possibleMoves = this.mode!="idle" && this.vr.canIplay(this.mycolor,startSquare) ? this.vr.getPossibleMovesFrom(startSquare) : []; - console.log(this.possibleMoves); e.target.parentNode.appendChild(this.selectedPiece); } },