Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: WinBoard improvemets:

Author: Daniel Clausen

Date: 08:33:01 01/28/02

Go up one level in this thread


On January 28, 2002 at 10:52:29, Benny Antonsson wrote:

>Can you tell from a FEN-string if one side has castled or not ?
>
>E.g: r1bqk1nr/pppp1ppp/2n5/2b1p3/2B1P3/5N2/PPPP1PPP/RNBQ1RK1 b kq - 0 40
>
>This string doesn't directly tell you that white has castled... only that
>white lost all castling rights.

You just answered your own question - that's it's generally not possible to
decide whether one side has castled or not.


>Do I have to assume that white has castled because the king is on g1 and the rook is on f1 ?

Such an assumption surely doesn't hold, since the king and rook could move to
these places in several steps, w/o castling. Similarly, the opposite is also not
a valid assumption.

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.