import { randInt } from "@/utils/alea";
export class Antiking2Rules extends ChessRules {
+
static get ANTIKING() {
return "a";
}
this.antikingPos["w"] = [i, k];
break;
default: {
- const num = parseInt(rows[i].charAt(j));
+ const num = parseInt(rows[i].charAt(j), 10);
if (!isNaN(num)) k += num - 1;
}
}
static get SEARCH_DEPTH() {
return 2;
}
+
};