const pieces = Object.keys(V.ALICE_CODES);
const kp = this.kingPos[color];
const mirrorSide = pieces.includes(this.getPiece(kp[0], kp[1])) ? 1 : 2;
const pieces = Object.keys(V.ALICE_CODES);
const kp = this.kingPos[color];
const mirrorSide = pieces.includes(this.getPiece(kp[0], kp[1])) ? 1 : 2;