King Safety / Castling Test Suite?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

JVMerlino
Posts: 1357
Joined: Wed Mar 08, 2006 10:15 pm
Location: San Francisco, California

King Safety / Castling Test Suite?

Post by JVMerlino »

Does anybody have a test suite that convers King Safety and/or castling moves specifically?

Hopefully the positions will run the gamut of difficulty, but that's not a requirement.

Many thanks in advance,
jm
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: King Safety / Castling Test Suite?

Post by bob »

JVMerlino wrote:Does anybody have a test suite that convers King Safety and/or castling moves specifically?

Hopefully the positions will run the gamut of difficulty, but that's not a requirement.

Many thanks in advance,
jm
This would be tough to do, but it would really be nice. Particularly to cover the usual GM advice "castle if you want to, or if you need to, but not just because you can..."
User avatar
Steve Maughan
Posts: 1221
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: King Safety / Castling Test Suite?

Post by Steve Maughan »

John,

You could try the Big Book of Combinations on my site:

http://www.stevemaughan.com/bbc.htm

Most involve king safety. The other suite I like is Jon Dart's suite.

Cheers,

Steve
MattieShoes
Posts: 718
Joined: Fri Mar 20, 2009 8:59 pm

Re: King Safety / Castling Test Suite?

Post by MattieShoes »

Haha but I've also seen the advice "If castling is good, it's better to do it NOW..." Though that may have been advice directed towards newer players. I suppose GMs should be able to see whether zwischenzug could prevent castling.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: King Safety / Castling Test Suite?

Post by bob »

MattieShoes wrote:Haha but I've also seen the advice "If castling is good, it's better to do it NOW..." Though that may have been advice directed towards newer players. I suppose GMs should be able to see whether zwischenzug could prevent castling.
From a lot of playing, I like the GM advice myself. Once you castle, you have planted a flag that says "attack me here, I can't move very far, very fast, so you know where to come..." The opposite end of that stick is the case where you wait too long, and then can't castle, and now you have planted a flag in the center that says the same thing. except is it much easier to attack down the center than on a flank.

My strategy is to try to tempt my opponent into preparing to attack on one side, before I castle to the other side, which gains a few moves for me. Computers are more problematic here and the horizon effect can be brutal with respect to castling. Basically if they castle at move 1 in the current search PV, or if it is move 15, they don't care. But if they keep pushing it off, suddenly they realize "Hey, I can't castle at all now" but it is too late to do anything about it.