unclear 960 position regarding castling

Discussion of chess software programming and technical issues.

Moderator: Ras

mar
Posts: 2691
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: unclear 960 position regarding castling

Post by mar »

is that UCI? the castling in chess960 should be encoded as king captures own rook
Aleks Peshkov
Posts: 995
Joined: Sun Nov 19, 2006 9:16 pm
Location: Russia
Full name: Aleks Peshkov

Re: unclear 960 position regarding castling

Post by Aleks Peshkov »

Smart engine and smart GUI could understand X-FEN and S-FEN and accept e1g1 and e1h1 castling move notation regardless value of UCI_Chess960 option. But your own code should to not lay on smartness of the opposite communication end and report FENs and moves according current UCI_Chess960 option setting.