);
}
+ loseOnRepetition() {
+ // If current side is under check: lost
+ return this.underCheck(this.turn);
+ }
+
static get GILDING() {
return "g";
}
return [];
}
// Normal move (after initial setup)
- if (x >= V.size.x) return this.getReserveMoves(x, y);
+ if (x >= V.size.x) return this.getReserveMoves([x, y]);
const p = this.getPiece(x, y);
const sq = [x, y];
let moves = [];
s: 'n',
h: 'b',
w: 'c',
- a: 'm'
+ a: 'm',
+ g: 'p'
};
}