Moderators: hgm, Andres Valverde
Reinhard Scharnagl wrote:An additional question: how should the XFEN for Seirawan be?
That is how to document the still being placable pieces?
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[HEhe] w KGFDCBQkgfdcbq - 0 1
r1bqkbnr/ppp1pppp/2n5/3p4/8/2N2N2/PPPPPPPP/REBQKBHR[he] w KQkgfdcq - 2 3
H.G.Muller wrote:... I don't think using binary notation would make the FEN understandable by the average human reader. You might as well encode the whole board in binary Hufman code then...
Reinhard Scharnagl wrote:Well, I have no intention to pollute the XFEN approach by incompatible overloading of the castling string.
Because it seems to be impossible then e.g. to implement a thing like Random Seiravan Chess. My suggestion
in contrast will have a mostly nearly clean XFEN encoding instead of an unreadable castling string.
1) is a just placed H or E always an unmoved piece then?
2) such a placement is changing the material balance, so why this does not reset the remis count?
P.P.S.: Finally I suggest to use L for Elephant and W for Hawk (maybe within the brackets only), this
would give the chance to use a single [] bracket pair only.
iqp wrote:Hi Mr Muller,
please could you help me figure out why WB is complaining about illegal moves when playing the Seirawan variant as described in the OP?
TIA,
Ralph
H.G.Muller wrote:iqp wrote:Hi Mr Muller,
please could you help me figure out why WB is complaining about illegal moves when playing the Seirawan variant as described in the OP?
TIA,
Ralph
Yes, I will, but you did not post the debug file, so I have to try it out myself first.
H.G.Muller wrote:Oh sorry, I overlooked that link.
It should be fixed now; the repaired Fairy-Max can be downloaded from
http://hgm.nubati.net/Fairy-Max.zip
Just unpack it over your old Fairy-Max folder. (Only the fmax.exe and fmax.ini files are new, really.)
H.G.Muller wrote:Reinhard Scharnagl wrote:Well, I have no intention to pollute the XFEN approach by incompatible overloading of the castling string.
Because it seems to be impossible then e.g. to implement a thing like Random Seiravan Chess. My suggestion
in contrast will have a mostly nearly clean XFEN encoding instead of an unreadable castling string.
Why do you say that? The current system was designed with Seirawan2880 in mind. There is nothing incompatible with the XFEN castling field; it is a straightforward extension of it. In stead of mentioning only virgin Rooks, you measure all virgin pieces. What could be more straightforward than that?
...
Reinhard Scharnagl wrote:You are presuming, that an unmoved rook always will have castling rights. There are cases with two rooks at one side, where a letter is used to select the inner rook for castling rights. Here you are mixing that up with its unmoved property.
So there you are unable to encode a missing castling ability.
[Event "Computer Chess Game"]
[Site "MORITZ-PC"]
[Date "2014.10.16"]
[Round "-"]
[White "ralph_000"]
[Black "Fairy-Max 4.8T"]
[Result "0-1"]
[TimeControl "40/300"]
[Variant "seirawan"]
[Annotator "1... +0.25"]
1. e4 Nc6/E {+0.25/7 32} 2. Ne2/H f5 {+0.06/7 6} 3. Nbc3/E fxe4 {+0.16/7 4}
4. Nxe4 Nf6/H {+0.24/8 4} 5. d3 Nxe4 {+0.17/9 5} 6. dxe4 Hf6 {+0.04/8 5} 7.
Ng3 e6 {-0.09/7 5} 8. Bb5 Bb4+ {+0.01/7 11} 9. Bd2 Bxd2+ {+0.19/8 9} 10.
Qxd2 O-O {+0.10/8 14} 11. He2 a6 {+0.05/9 7} 12. Bxc6 bxc6 {+0.22/9 7} 13.
b4 d5 {+0.13/7 4} 14. O-O dxe4 {+0.85/9 5} 15. Qxd8 Rxd8 {+1.06/9 9} 16.
Rd1 Rxd1+ {+1.12/10 5} 17. Hxd1 Bd7 {+1.05/9 4} 18. c3 Eb5 {+1.04/9 6} 19.
Ed2 Ed6 {+1.02/9 5} 20. Eb3 Ed3 {+1.05/7 4} 21. a4 Ee1+ {+2.58/10 5} 22.
Nf1 Hh4 {+2.93/11 12} 23. He3 Ee2+ {+12.28/12 5} 24. Kh1 Exe3 {+12.27/12 4}
25. fxe3 Hf2# {+79.99/28}
{Xboard adjudication: Checkmate} 0-1
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 4 guests