X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FBario.js;h=3e076658782222106b7b563ed00ab62bf0d6b018;hb=HEAD;hp=e10bb3d48027e673fc92c403ce655d0f4f5460e2;hpb=16175fb33c3350fdae3551f7c9b4f1b3d122179c;p=vchess.git diff --git a/client/src/variants/Bario.js b/client/src/variants/Bario.js index e10bb3d4..3e076658 100644 --- a/client/src/variants/Bario.js +++ b/client/src/variants/Bario.js @@ -4,6 +4,10 @@ import { randInt } from "@/utils/alea"; export class BarioRules extends ChessRules { + static get Options() { + return null; + } + // Does not really seem necessary (although the author mention it) // Instead, first move = pick a square for the king. static get HasFlags() { @@ -73,7 +77,7 @@ export class BarioRules extends ChessRules { vanish: [ new PiPo({ x: square[0], y: square[1], c: c, p: V.UNDEFINED }) ], - start: { x: -1, y: -1 }, + start: { x: -1, y: -1 } }); }