I see your chess960.epd has the following format.lucasart wrote: ↑Wed Jun 23, 2021 1:39 amThat doesn't explain why. This is plain wrong design, and delimiters are there for delimiting. To add meta data to the position, one should use ';' delimiters, not mix them into the FEN in a way that breaks compatibility with FEN standard itself.Ferdy wrote: ↑Wed Jun 23, 2021 1:36 amI think fen was first. EPD is extended position description, it has some advantages of communicating info like ce=centipawn evaluation, bm=best move and other opcodes. PGN standard section 16.2.mar wrote: ↑Wed Jun 23, 2021 12:57 amwow, I always thought that an EPD record starts with a FEN, but this doesn't seem to be the case...Ferdy wrote: ↑Tue Jun 22, 2021 10:43 pm If an epd contains hmvc and fmvn opcodes like the following,Code: Select all
1r1qkb1r/1p1bpppp/p4n2/3P4/5Q2/2N5/PP1P1PPP/R1B1K1NR b KQk - ce 29; hmvc 40; fmvn 12; c0 "white has doubled pawn";
what's the reasoning behind this silliness? was EPD designed before FEN or is there another reason? the opcodes seem to start with an identifier (which shouldn't start with a number)
so parsing two extra numbers should be no problem at all
The chess programming community is still fairly small. We can still change things, at least marginally. By purposely refusing to support such bugs, we will weed them out. So I will make a point to keep EPD in the Readme, and not support this EPD bug. I encourage others to do the same.
Code: Select all
bbqnnrkr/pppppppp/8/8/8/8/PPPPPPPP/BBQNNRKR w HFhf - 0 1;