X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FAlice.js;h=16ccb84deec962d562d226119215a36f41df9a68;hp=61fcd01527c9e4b4fd8f2d2da5e8d5f3360eddb0;hb=7e8a7ea1cb66adb4a987badfb0a3c2f99a21bd0a;hpb=31c535953c843b28434a7fcdf7b4da0b376774ab diff --git a/client/src/variants/Alice.js b/client/src/variants/Alice.js index 61fcd015..16ccb84d 100644 --- a/client/src/variants/Alice.js +++ b/client/src/variants/Alice.js @@ -5,6 +5,7 @@ import { ArrayFun } from "@/utils/array"; // TODO? atLeastOneMove() would be more efficient if rewritten here // (less sideBoard computations) export class AliceRules extends ChessRules { + static get ALICE_PIECES() { return { s: "p", @@ -366,4 +367,5 @@ export class AliceRules extends ChessRules { notation += "=" + move.appear[0].p.toUpperCase(); return notation; } + };