> > The game plays through a castling move ok. > Geez, i see you've altered the FEN format. Or is the FCfc castling field a > language thing ? From this FEN i can successfully castle 'OK' and 'OQ' : > "bnrbkrqn/ppp5/3pppp1/7p/5P2/2N1PBN1/PPPP1QPP/B1R1KR2 w FCfc - 0 7" > but the two-move castling (which i confess i don't know much about but i think > you're aiming to support) on queen side doesn't work. Shouldn't i be able to > move > Rd1, and then Kc1 on the next move , or am i mistaken ?. >
The FCfc field is Shredder FEN, which is used by UCI engines. There is also X-FEN, which is closer to standard FEN, but as Shredder FEN is definitely needed and X-FEN isn't I've chosen to go with Shredder FEN. It should be able to read both versions. At the moment castling is done by moving the king to the target square, i.e. c1, g1, c8 or g8. If it's ambiguous then Scid will ask if you're castling or not. The other approaches are to use the king to take the rook you intend to castle with, which is the UCI approach, or to have buttons for O-O-O and O-O. None of these seem to be ideal, but I felt that moving the king to the target square fitted in better with normal chess. Having a two part castling move would also be possible but seems needless complex. In particular you'd need to have some way to tell Scid that Rd1 was the first part of castling, and not a move in it's own right. Ben Hague ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users