X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FHidden.js;h=5ccc3d7ed3a9afc0d608a78f9ebd306a23a0a99a;hb=7ba4a5bc5b64e19a1e7f26aa232d5c50770d07ad;hp=c79267a56ac40e795de4dfb780bf66990ba3a42f;hpb=e71161fbfffe53b0f4b174e0467cdd98cc70b7b0;p=vchess.git diff --git a/client/src/variants/Hidden.js b/client/src/variants/Hidden.js index c79267a5..5ccc3d7e 100644 --- a/client/src/variants/Hidden.js +++ b/client/src/variants/Hidden.js @@ -157,6 +157,7 @@ export const VariantRules = class HiddenRules extends ChessRules { return moves; } + // Ignore randomness here: placement is always random asymmetric static GenRandInitFen() { let pieces = { w: new Array(8), b: new Array(8) }; // Shuffle pieces + pawns on two first ranks