X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FKnightmate.js;h=bc886c126216c154cca6e2b13595de160f0993c4;hp=593fcc097a4147fa59cfcb34cd6d6a1becc57df7;hb=7e8a7ea1cb66adb4a987badfb0a3c2f99a21bd0a;hpb=31c535953c843b28434a7fcdf7b4da0b376774ab diff --git a/client/src/variants/Knightmate.js b/client/src/variants/Knightmate.js index 593fcc09..bc886c12 100644 --- a/client/src/variants/Knightmate.js +++ b/client/src/variants/Knightmate.js @@ -3,6 +3,7 @@ import { ArrayFun } from "@/utils/array"; import { randInt } from "@/utils/alea"; export class KnightmateRules extends ChessRules { + static get COMMONER() { return "c"; } @@ -82,4 +83,5 @@ export class KnightmateRules extends ChessRules { k: 1000 }; } + };