Protocol clarification

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Protocol clarification

Postby Giorgio Medeot » 30 Jun 2011, 10:45

Hi H.G.,

I need a clarification about castling notation in coordinate algebraic notation, when playing FRC. The protocol specs states that FisherRandom castling should be noted as either 'O-O' or 'O-O-O'.
That means:
1. That I should trace that WB told me I am playing an FRC game, and in that case always stick to the SAN castling notation;
2. Or that I can still use coordinate notation for castling when there is no ambiguity, and use SAN notation only when the king could move to the same square in a normal move. BTW I would prefer this solution, as it seemlessly extends the case for standard chess.

I would like to know what the protocol prescribes, and what could be considered good practice.

Thanks and regards,

    Giorgio
Giorgio Medeot
 
Posts: 26
Joined: 31 Aug 2009, 11:01

Re: Protocol clarification

Postby H.G.Muller » 30 Jun 2011, 15:01

According to the protocol specs castling will have to be sent as O-O(-O) in FRC. The results of disobeying the specs is by definition implementation dependent, and thus undefined.

I tried it out, and current WinBoard does reject e1g1 as an invalid move even when your King is on e1 and your Rook on h1. When you switch legality testing off, though, it performs the move as a castling. And it does understand e1h1 as both legal and a castling. But not h1e1. (That would only work in variant seirawan.)
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Protocol clarification

Postby Giorgio Medeot » 30 Jun 2011, 15:41

Ok, so I will keep track of the variant being played, and I will send e1g1 in variant normal or O-O in FRC.

Thanks,

    Giorgio
Giorgio Medeot
 
Posts: 26
Joined: 31 Aug 2009, 11:01


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 11 guests