// Castle flags here indicate pieces positions (if can castle)
return "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w 0 adehadeh -";
let pieces = { w: new Array(8), b: new Array(8) };
let flags = "";
for (let c of ["w", "b"]) {
// Castle flags here indicate pieces positions (if can castle)
return "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w 0 adehadeh -";
let pieces = { w: new Array(8), b: new Array(8) };
let flags = "";
for (let c of ["w", "b"]) {