V.PlayOnBoard(this.board, m);
const [piece, square] = this.getRandPiece(oppCol);
m.start.toplay = square;
V.PlayOnBoard(this.board, m);
const [piece, square] = this.getRandPiece(oppCol);
m.start.toplay = square;
if (move.vanish.length == 2 && move.vanish[1].p == V.KING)
this.kingPos[move.vanish[1].c] = [-1, -1];
// Castle flags for captured king won't be updated (not important...)
if (move.vanish.length == 2 && move.vanish[1].p == V.KING)
this.kingPos[move.vanish[1].c] = [-1, -1];
// Castle flags for captured king won't be updated (not important...)