return moves.filter(m => m.vanish.length == 2 && m.appear.length == 1);
}
- // Stop at the first capture found (if any)
+ // Stop at the first capture found (if any)
atLeastOneCapture() {
const color = this.turn;
const oppCol = V.GetOppCol(color);
return V.KeepCaptures(moves);
return moves;
}
-
- static get SEARCH_DEPTH() {
- return 4;
- }
};