return (L > 0 ? this.p2play[L-1] : "-");
}
- static GenRandInitFen(randomness) {
- return ChessRules.GenRandInitFen(randomness) + " -";
+ static GenRandInitFen(options) {
+ return ChessRules.GenRandInitFen(options) + " -";
}
canMove(piece, color, [x, y]) {