projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to clarify installation instructions a little
[vchess.git]
/
client
/
src
/
variants
/
Convert.js
diff --git
a/client/src/variants/Convert.js
b/client/src/variants/Convert.js
index
1180e37
..
c501c02
100644
(file)
--- a/
client/src/variants/Convert.js
+++ b/
client/src/variants/Convert.js
@@
-13,10
+13,8
@@
export class ConvertRules extends ChessRules {
this.lastMoveEnd = [null];
}
this.lastMoveEnd = [null];
}
- static GenRandInitFen(randomness) {
- if (randomness == 0)
- return "rnbqkbnr/8/pppppppp/8/8/PPPPPPPP/8/RNBQKBNR w 0 ahah";
- const baseFen = ChessRules.GenRandInitFen(randomness);
+ static GenRandInitFen(options) {
+ const baseFen = ChessRules.GenRandInitFen(options);
return (
baseFen.substr(0, 8) +
"/8/pppppppp/8/8/PPPPPPPP/8/" +
return (
baseFen.substr(0, 8) +
"/8/pppppppp/8/8/PPPPPPPP/8/" +