);
}
+ isAttackedByPawn(sq, color) {
+ return this.isAttackedBySlideNJump(
+ sq,
+ color,
+ V.PAWN,
+ V.steps[V.BISHOP],
+ "oneStep"
+ );
+ }
+
getNotation(move) {
let notation = super.getNotation(move);
// If pawn captures backward, add an indication 'b'