let pieces = { w: new Array(8), b: new Array(8) };
let antikingPos = { w: -1, b: -1 };
for (let c of ["w", "b"]) {
let pieces = { w: new Array(8), b: new Array(8) };
let antikingPos = { w: -1, b: -1 };
for (let c of ["w", "b"]) {
let positions = ArrayFun.range(8);
// Get random squares for bishops, but avoid corners; because,
let positions = ArrayFun.range(8);
// Get random squares for bishops, but avoid corners; because,