return false;
}
+ static get Monochrome() {
+ return true;
+ }
+
static get PawnSpecs() {
return Object.assign(
{},
ChessRules.PawnSpecs,
- {
- twoSquares: false,
- promotions: [V.QUEEN]
- }
+ { promotions: [V.QUEEN] }
);
}
}
isAttackedByBishop(sq, color) {
- const forward = (this.turn == 'w' ? 1 : -1);
+ const forward = (color == 'w' ? 1 : -1);
return this.isAttackedBySlideNJump(
sq,
color,