X-Git-Url: https://git.auder.net/?p=xogo.git;a=blobdiff_plain;f=variants%2FGiveaway%2Fclass.js;h=39f586c1b0f3ff679e153a3a57510df96bba4d76;hp=15a8998c965ca4e68b8e1f71536b0fec931483a7;hb=dc10e429231932c19da6d1ff2ce98c7a042829ab;hpb=d6d0a46e5c8c1d9176f4a9e9c44a4b5f2ed791e7 diff --git a/variants/Giveaway/class.js b/variants/Giveaway/class.js index 15a8998..39f586c 100644 --- a/variants/Giveaway/class.js +++ b/variants/Giveaway/class.js @@ -42,7 +42,7 @@ export default class GiveawayRules extends ChessRules { let fen = ""; if (this.options["randomness"] == 0) - fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w 0"; + fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR"; else { let pieces = { w: new Array(8), b: new Array(8) }; for (let c of ["w", "b"]) { @@ -69,8 +69,7 @@ export default class GiveawayRules extends ChessRules { fen = ( pieces["b"].join("") + "/pppppppp/8/8/8/8/PPPPPPPP/" + - pieces["w"].join("").toUpperCase() + - " w 0" + pieces["w"].join("").toUpperCase() ); } return { fen: fen, o: {} };