projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Hopefully) better (cleaner) authentication mechanism now
[vchess.git]
/
client
/
src
/
variants
/
Pawnmassacre.js
diff --git
a/client/src/variants/Pawnmassacre.js
b/client/src/variants/Pawnmassacre.js
index
12ce1d0
..
c08b585
100644
(file)
--- a/
client/src/variants/Pawnmassacre.js
+++ b/
client/src/variants/Pawnmassacre.js
@@
-6,9
+6,13
@@
export class PawnmassacreRules extends ChessRules {
return false;
}
return false;
}
- static GenRandInitFen(randomness) {
+ get showFirstTurn() {
+ return true;
+ }
+
+ static GenRandInitFen(options) {
const bFen =
const bFen =
- ChessRules.GenRandInitFen(
randomnes
s)
+ ChessRules.GenRandInitFen(
option
s)
// Remove castle flags
.slice(0, -6).concat("-");
const splitIdx = bFen.indexOf(' ');
// Remove castle flags
.slice(0, -6).concat("-");
const splitIdx = bFen.indexOf(' ');