}
// Used by the interface:
- getReservePpath(color, index) {
+ getReservePpath(index, color) {
return color + V.RESERVE_PIECES[index];
}
}
static get SEARCH_DEPTH() {
+ // High branching factor
return 2;
- } //high branching factor
+ }
evalPosition() {
let evaluation = super.evalPosition();
move.appear[0].p != V.PAWN ? move.appear[0].p.toUpperCase() : "";
return piece + "@" + V.CoordsToSquare(move.end);
}
-
- getLongNotation(move) {
- if (move.vanish.length > 0) return super.getLongNotation(move);
- return "@" + V.CoordsToSquare(move.end);
- }
};