projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Berolina en passant
[vchess.git]
/
client
/
src
/
variants
/
Hidden.js
diff --git
a/client/src/variants/Hidden.js
b/client/src/variants/Hidden.js
index
c79267a
..
5ccc3d7
100644
(file)
--- 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