}
static GenRandInitFen(randomness) {
- if (!randomness) randomness = 2;
if (randomness == 0)
return "rnbqkbnr/pppppppp/3A4/8/8/3a4/PPPPPPPP/RNBQKBNR w 0 1111 -";
for (let c of ["w", "b"]) {
if (c == 'b' && randomness == 1) {
pieces['b'] = pieces['w'];
+ antikingPos['b'] = antikingPos['w'];
break;
}
" w 0 1111 -"
);
}
+
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
};