if ([V.BN, V.RN].includes(p))
return V.MergeComposed[[p1, p2].sort().join("")];
}
if ([V.BN, V.RN].includes(p))
return V.MergeComposed[[p1, p2].sort().join("")];
}
return (
this.isAttackedBySlideNJump(sq, color, V.BN, V.steps[V.BISHOP]) ||
this.isAttackedBySlideNJump(
return (
this.isAttackedBySlideNJump(sq, color, V.BN, V.steps[V.BISHOP]) ||
this.isAttackedBySlideNJump(
- sq, color, V.BN, V.steps[V.KNIGHT], "oneStep")
+ sq, color, V.BN, V.steps[V.KNIGHT], 1)
return (
this.isAttackedBySlideNJump(sq, color, V.RN, V.steps[V.ROOK]) ||
this.isAttackedBySlideNJump(
return (
this.isAttackedBySlideNJump(sq, color, V.RN, V.steps[V.ROOK]) ||
this.isAttackedBySlideNJump(
- sq, color, V.RN, V.steps[V.KNIGHT], "oneStep")
+ sq, color, V.RN, V.steps[V.KNIGHT], 1)
this.isAttackedBySlideNJump(
sq, color, V.QN, V.steps[V.BISHOP].concat(V.steps[V.ROOK])) ||
this.isAttackedBySlideNJump(
this.isAttackedBySlideNJump(
sq, color, V.QN, V.steps[V.BISHOP].concat(V.steps[V.ROOK])) ||
this.isAttackedBySlideNJump(
- sq, color, V.QN, V.steps[V.KNIGHT], "oneStep")
+ sq, color, V.QN, V.steps[V.KNIGHT], 1)