return true;
}
+ get showFirstTurn() {
+ return true;
+ }
+
static get Notoodark() {
return true;
}
case V.LANCE:
return this.getPotentialLanceMoves([x, y]);
case V.KING:
- return this.getPotentialKingMoves([x, y]);
+ return super.getPotentialKingMoves([x, y]);
case V.P_ROOK:
return this.getPotentialDragonMoves([x, y]);
case V.P_BISHOP:
);
}
- getPotentialKingMoves(sq) {
- return this.getSlideNJumpMoves(
- sq,
- V.steps[V.ROOK].concat(V.steps[V.BISHOP]),
- { oneStep: true }
- );
- }
-
isAttacked(sq, color) {
return (
this.isAttackedByPawn(sq, color) ||