X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FPawns.js;h=1dca994d728bc88279bfdffca8ea34b09828c106;hp=83ccca70d96636ae5883be12dfe6eac14e855ad3;hb=737a5dafb39740ebe304b8d0a82df85070def571;hpb=1b56b73614509d1dca8c4353f18fb78349940cf8 diff --git a/client/src/variants/Pawns.js b/client/src/variants/Pawns.js index 83ccca70..1dca994d 100644 --- a/client/src/variants/Pawns.js +++ b/client/src/variants/Pawns.js @@ -14,6 +14,8 @@ export class PawnsRules extends ChessRules { return false; } + scanKings() {} + static GenRandInitFen() { return "8/pppppppp/8/8/8/8/PPPPPPPP/8 w 0 -"; } @@ -36,4 +38,11 @@ export class PawnsRules extends ChessRules { if (!this.atLeastOneMove()) return "1/2"; return "*"; } + + postPlay() {} + postUndo() {} + + static get SEARCH_DEPTH() { + return 4; + } };