const move = moveOrSquare;
const [sx, ex, sy] = [move.start.x, move.end.x, move.start.y];
if (this.getPiece(sx, sy) == V.PAWN && Math.abs(sx - ex) == 2) {
const move = moveOrSquare;
const [sx, ex, sy] = [move.start.x, move.end.x, move.start.y];
if (this.getPiece(sx, sy) == V.PAWN && Math.abs(sx - ex) == 2) {