export class LosersRules extends ChessRules {
// Trim all non-capturing moves
static KeepCaptures(moves) {
export class LosersRules extends ChessRules {
// Trim all non-capturing moves
static KeepCaptures(moves) {
this.board[i][j] != V.EMPTY &&
this.getColor(i, j) != oppCol &&
this.getPotentialMovesFrom([i, j]).some(m =>
this.board[i][j] != V.EMPTY &&
this.getColor(i, j) != oppCol &&
this.getPotentialMovesFrom([i, j]).some(m =>