import { randInt } from "@/utils/alea";
export class ChakartRules extends ChessRules {
+
static get PawnSpecs() {
return SuicideRules.PawnSpecs;
}
return (
V.OnBoard(x + forward, y) &&
(
- this.board[x + forward][y] != oppCol ||
+ this.board[x + forward][y] == V.EMPTY ||
(
V.OnBoard(x + forward, y + 1) &&
this.board[x + forward][y + 1] != V.EMPTY &&
}
return notation;
}
+
};