import { randInt } from "@/utils/alea";
export class GrasshopperRules extends ChessRules {
+
static get HasEnpassant() {
return false;
}
return Object.assign(
{},
ChessRules.PawnSpecs,
- {
- twoSquares: false,
- promotions: ChessRules.PawnSpecs.promotions.concat([V.GRASSHOPPER])
- }
+ { promotions: ChessRules.PawnSpecs.promotions.concat([V.GRASSHOPPER]) }
);
}
"/gggggggg/pppppppp/8/8/PPPPPPPP/GGGGGGGG/"
);
}
+
};