if (ChessRules.PIECES.includes(p)) return p;
const c = this.board[i][j].charAt(0);
// NOTE: this.turn == HACK, but should work...
if (ChessRules.PIECES.includes(p)) return p;
const c = this.board[i][j].charAt(0);
// NOTE: this.turn == HACK, but should work...
this.lastMoveEnd.push(Object.assign({}, move.end, { p: released }));
}
V.PlayOnBoard(this.board, move);
this.lastMoveEnd.push(Object.assign({}, move.end, { p: released }));
}
V.PlayOnBoard(this.board, move);