import { ChessRules } from "@/base_rules";
export class PawnmassacreRules extends ChessRules {
+
static get HasFlags() {
return false;
}
- static GenRandInitFen(randomness) {
+ get showFirstTurn() {
+ return true;
+ }
+
+ static GenRandInitFen(options) {
const bFen =
- ChessRules.GenRandInitFen(randomness)
+ ChessRules.GenRandInitFen(options)
// Remove castle flags
.slice(0, -6).concat("-");
const splitIdx = bFen.indexOf(' ');
.concat(bFen.substr(splitIdx))
);
}
+
};