X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FGrasshopper.js;h=90411d1441342035e035868ec39e9102a2e7d24e;hp=c47ac2b13cf2f2b0726b5aa94e3e5ce4e81cfe6d;hb=7e8a7ea1cb66adb4a987badfb0a3c2f99a21bd0a;hpb=31c535953c843b28434a7fcdf7b4da0b376774ab diff --git a/client/src/variants/Grasshopper.js b/client/src/variants/Grasshopper.js index c47ac2b1..90411d14 100644 --- a/client/src/variants/Grasshopper.js +++ b/client/src/variants/Grasshopper.js @@ -3,6 +3,7 @@ import { ArrayFun } from "@/utils/array"; import { randInt } from "@/utils/alea"; export class GrasshopperRules extends ChessRules { + static get HasEnpassant() { return false; } @@ -108,4 +109,5 @@ export class GrasshopperRules extends ChessRules { "/gggggggg/pppppppp/8/8/PPPPPPPP/GGGGGGGG/" ); } + };