X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FProgressive1.js;fp=client%2Fsrc%2Fvariants%2FProgressive1.js;h=43c7c4dbe4e9d7e66f155b0ba6c61fad1e06d28a;hp=3023b729cf294796de2a1ab9c16433f32bb13317;hb=7e8a7ea1cb66adb4a987badfb0a3c2f99a21bd0a;hpb=31c535953c843b28434a7fcdf7b4da0b376774ab diff --git a/client/src/variants/Progressive1.js b/client/src/variants/Progressive1.js index 3023b729..43c7c4db 100644 --- a/client/src/variants/Progressive1.js +++ b/client/src/variants/Progressive1.js @@ -2,6 +2,7 @@ import { ChessRules } from "@/base_rules"; import { randInt } from "@/utils/alea"; export class Progressive1Rules extends ChessRules { + static get HasEnpassant() { return false; } @@ -108,4 +109,5 @@ export class Progressive1Rules extends ChessRules { for (let i=res.length - 1; i>= 0; i--) this.undo(res[i]); return res; } + };