- getPotentialKingMoves(sq) {
- // No castle
- return this.getSlideNJumpMoves(
- sq,
- V.steps[V.ROOK].concat(V.steps[V.BISHOP]),
- "oneStep"
- );
- }
+ static GenRandInitFen(options) {
+ if (options.randomness == 0)
+ return "RNBQKBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqkbnr w 0";