X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FSuction%2Fclass.js;h=ff307d4a3d4cde9e5d76255b5e36f7d27c30d63e;hb=10c9010b3b04915e132b6b3820f2f19c9ea6dcf0;hp=6a66a068d4542e789a969206f328680d48895b48;hpb=0cef7bb4f72046ce60db408bfb76103428e2c15a;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(),