static ParseFen(fen) {
    const fenParts = fen.split(" ");
    let res = {
      position: fenParts[0],
      turn: fenParts[1],
      movesCount: fenParts[2]
    };
    let nextIdx = 3;
    if (V.HasFlags) Object.assign(res, { flags: fenParts[nextIdx++] });
    if (V.HasEnpassant) Object.assign(res, { enpassant: fenParts[nextIdx] });
    return res;
  }
// "Parse" FEN: just return untransformed string data
"Parse" FEN: just return untransformed string data
" Parse " FEN : just return untransformed string data
static ParseFen(fen) {
    const fenParts = fen.split(" ");
    let res = {
      position: fenParts[0],
      turn: fenParts[1],
      movesCount: fenParts[2]
    };
    let nextIdx = 3;
    if (V.HasFlags) Object.assign(res, { flags: fenParts[nextIdx++] });
    if (V.HasEnpassant) Object.assign(res, { enpassant: fenParts[nextIdx] });
    return res;
  }
static ParseFen ( fen ) { const fenParts = fen . split ( " " ) ; let res = { position : fenParts [ 0 ] , turn : fenParts [ 1 ] , movesCount : fenParts [ 2 ] } ; let nextIdx = 3 ; if ( V . HasFlags ) Object . assign ( res , { flags : fenParts [ nextIdx ++ ] } ) ; if ( V . HasEnpassant ) Object . assign ( res , { enpassant : fenParts [ nextIdx ] } ) ; return res ; }
"Parse" FEN: just return untransformed string data
" Parse " FEN : just return untransformed string data