X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FSuction%2Fclass.js;h=889a37ff1d0e9541f7d1e2563b4b0aca6af65788;hb=HEAD;hp=6a66a068d4542e789a969206f328680d48895b48;hpb=7c03823594cef3ce6e8da7ac1d7d3504c73695a9;p=xogo.git diff --git a/variants/Suction/class.js b/variants/Suction/class.js index 6a66a06..ff307d4 100644 --- a/variants/Suction/class.js +++ b/variants/Suction/class.js @@ -43,7 +43,12 @@ export default class SuctionRules extends ChessRules { genRandInitBaseFen() { const s = FenUtil.setupPieces( - ['r', 'n', 'b', 'q', 'k', 'b', 'n', 'r'], {diffCol: ['b']}); + ['r', 'n', 'b', 'q', 'k', 'b', 'n', 'r'], + { + randomness: this.options["randomness"], + diffCol: ['b'] + } + ); return { fen: s.b.join("") + "/pppppppp/8/8/8/8/PPPPPPPP/" + s.w.join("").toUpperCase(),