pieces["b"].join("") +
"/pppppppppp/91/91/91/91/91/91/PPPPPPPPPP/" +
pieces["w"].join("").toUpperCase() +
- " w 0 " + flags + " -"
+ " w 0 " + flags + " - 00000000000000"
);
}
isAttackedByHorse(sq, color) {
return (
- super.isAttackedBySlideNJump(sq, color, V.steps[V.BISHOP], V.HORSE) ||
+ super.isAttackedBySlideNJump(sq, color, V.HORSE, V.steps[V.BISHOP]) ||
super.isAttackedBySlideNJump(
sq, color, V.HORSE, V.steps[V.ROOK], "oneStep")
);
isAttackedByDragon(sq, color) {
return (
- super.isAttackedBySlideNJump(sq, color, V.steps[V.ROOK], V.DRAGON) ||
+ super.isAttackedBySlideNJump(sq, color, V.DRAGON, V.steps[V.ROOK]) ||
super.isAttackedBySlideNJump(
sq, color, V.DRAGON, V.steps[V.BISHOP], "oneStep")
);