You are correct of course, but be aware of some limitation. Less number of attackers but deadly (the one that can deliver check) compared to more attackers but just looking at the king. Daniel might improve his code on this.stegemma wrote: I think that is good if a piece attacks a square near to the king even if from that square it cannot directly give check.
about king attack
Moderators: hgm, Dann Corbit, Harvey Williamson
-
Ferdy
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: about king attack
-
Rebel
- Posts: 6946
- Joined: Thu Aug 18, 2011 12:04 pm
Re: about king attack
You might want to have look at Rebel's king safety and see if there is something useful for you in there.Daniel Anulliero wrote: Any lights ?
http://www.top-5000.nl/authors/rebel/ch ... ING_SAFETY
As a general note I like to mention that's quite common to ONLY measure the pieces that attack the enemy king. If you look at my pseudo code you will notice I measure the defenders as well but they are given a lower priority.
-
Henk
- Posts: 7210
- Joined: Mon May 27, 2013 10:31 am
Re: about king attack
When there is no queen two rooks are dangerous when nearby opponent king without good pawn shelter. I see Skipper losing many games because of that.
Perhaps Queen and bishop on same diagonal is strong ? For instance a1-h8.
Perhaps Queen and bishop on same diagonal is strong ? For instance a1-h8.
-
Daniel Anulliero
- Posts: 759
- Joined: Fri Jan 04, 2013 4:55 pm
- Location: Nice
Re: about king attack
Thanks to all for the help !
To Ed: yes I read a lot of your documentation , great articles ! 😊
To Ed: yes I read a lot of your documentation , great articles ! 😊
-
D Sceviour
- Posts: 570
- Joined: Mon Jul 20, 2015 5:06 pm
Re: In the endgame
Steven Edwards wrote,
Do you have a link to the Chess 4.x report, or an example source of centroid calculation?This was noted in the Chess 4.x report some four decades ago and it helps greatly with searching.