X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FCwda.js;fp=client%2Fsrc%2Fvariants%2FColorbound.js;h=6e30e681d8bca6904c94896c88503c2103626f17;hp=90e54dc4325aca770965116ed11ad2e5a4510854;hb=cee75a57d2f4f89c89d64cefbab55d839a238ed9;hpb=3aa0c7783242b063c9a2890bdd4cf2767859dfca diff --git a/client/src/variants/Colorbound.js b/client/src/variants/Cwda.js similarity index 98% rename from client/src/variants/Colorbound.js rename to client/src/variants/Cwda.js index 90e54dc4..6e30e681 100644 --- a/client/src/variants/Colorbound.js +++ b/client/src/variants/Cwda.js @@ -2,7 +2,7 @@ import { ChessRules, Move, PiPo } from "@/base_rules"; import { ArrayFun } from "@/utils/array"; import { randInt } from "@/utils/alea"; -export class ColorboundRules extends ChessRules { +export class CwdaRules extends ChessRules { static get PawnSpecs() { return Object.assign( @@ -18,7 +18,7 @@ export class ColorboundRules extends ChessRules { getPpath(b) { if ([V.C_ROOK, V.C_KNIGHT, V.C_BISHOP, V.C_QUEEN].includes(b[1])) - return "Colorbound/" + b; + return "Cwda/" + b; return b; }