import { shuffle } from "@/utils/alea";
export class TencubedRules extends ChessRules {
+
static get PawnSpecs() {
return Object.assign(
{},
isAttackedByArchbishop(sq, color) {
return (
- this.isAttackedBySlideNJump(sq, color, V.CARDINAL, V.steps[V.BISHOP]) ||
+ this.isAttackedBySlideNJump(sq, color, V.ARCHBISHOP, V.steps[V.BISHOP]) ||
this.isAttackedBySlideNJump(
sq,
color,
- V.CARDINAL,
+ V.ARCHBISHOP,
V.steps[V.KNIGHT],
"oneStep"
)
{ c: 4, w: 3, a: 6, m: 8 }
);
}
+
};