liground icon indicating copy to clipboard operation
liground copied to clipboard

Xiangqi FEN doesn‘t work BUG

Open lex312 opened this issue 4 years ago • 1 comments

I tried to copy and paste FEN from WinBoard / XBoard and also from https://www.chessdb.cn/query_en/ but it doesn’t work.

lex312 avatar May 15 '21 21:05 lex312

The reason why it is not accepted is because the move counter is missing:

Given: rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w

Expected: rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w - - 0 1

However, in the current Fairy-Stockfish master this has already been fixed, and both given FEN are treated as valid:

  • https://github.com/ianfab/Fairy-Stockfish/pull/286

I will be releasing a new ffish.js version shortly so this change can take effect.

QueensGambit avatar May 15 '21 22:05 QueensGambit