Volker,
I fully agree with your red quote.
Reinhard.
Moderator: Andres Valverde
Fabien Letouzey wrote:...I think I introduced a bug when converting "O-O"-like input into the internal KxR representation. This should be located in the parser.l file (which is Lex-compiled into parser.c).
Fabien Letouzey wrote:The bug is that the farther-away rook is selected whereas it should be the closest to the king. Of course in practice it is unlikely to happen (one rook going to the other side, 1st rank)...
Volker Pittlik wrote:Sorry I don't understand that. I have no idea neither what the parser.l file contains nor what a Lex-compilation is.
Isn't it pure convention which rook is selected? Whenever there are two rooks in the same direction in an FRC startup position the castling rook may be the rook closer to the king or the other one. (If there are more than two it is even more confusing.)
Fabien Letouzey wrote:Isn't it pure convention which rook is selected? Whenever there are two rooks in the same direction in an FRC startup position the castling rook may be the rook closer to the king or the other one. (If there are more than two it is even more confusing.)
I am not talking about potential castling rights, but actually PERFORMING a castling move on the board (from a string such as "O-O"). Obviously if there are two (or more) rooks in one direction, only the closest one can be involved.
Tord Romstad wrote:...Oops, you are right. I never thought about this, but indeed this is a real and serious problem. Considering the enormous number of FRC games I have played, I am surprised that I still haven't seen it happen in practise.
...
547 <first : feature variants="normal, fischerandom"
547 >first : accepted variants
547 <first : feature fen960=1
547 >first : accepted fen960
547 <first : feature done=1
547 >first : accepted done
563 >first : new
random
563 >first : variant fischerandom
563 >first : level 40 5 0
563 >first : hard
563 >first : ping 1
563 <first : pong 1
26766 >first : time 30000
otim 30000
26766 >first : h1g3
26906 <first : Illegal move: h1g3
Return to Winboard and related Topics
Users browsing this forum: No registered users and 35 guests