X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FRococo.js;h=e0838e14baf7bfb5ab711dd04ed62eb4374003c9;hb=107dc1bd5361e2538b1551bdcc37c1e90a444b83;hp=f075fe84f31f7effd5e0dffdd52ca32f9e7fddc8;hpb=93ce6119a67b8510762dd68a07936b6f22f2ad67;p=vchess.git diff --git a/client/src/variants/Rococo.js b/client/src/variants/Rococo.js index f075fe84..e0838e14 100644 --- a/client/src/variants/Rococo.js +++ b/client/src/variants/Rococo.js @@ -15,6 +15,15 @@ export class RococoRules extends ChessRules { return ChessRules.PIECES.concat([V.IMMOBILIZER]); } + static get Lines() { + return [ + [[1, 1], [1, 9]], + [[1, 9], [9, 9]], + [[9, 9], [9, 1]], + [[9, 1], [1, 1]] + ]; + } + getPpath(b) { if (b[1] == "m") //'m' for Immobilizer (I is too similar to 1)