Since you’re here...

... we have a small favour to ask. More people, like you, are reading and supporting our blog: "Chess Engines Diary". And unlike many other sites and blogs, we made the choice to keep our articles open for all, regardless of where they live or what they can afford to pay.

We hope you will consider supporting us today. We need your support to continue to exist, because good entries are more and more work time. Every reader contribution, however big or small, is so valuable. Support "Chess Engines Diary" even a small amount– and it only takes a minute. Thank you.

============================== My email: jotes@go2.pl



Stockfish 17042905_Costalba - new version!



Stockfish, chess engine UCI
Leader rating list JCER = 3405
๐Ÿ”ฌ Author: Marco Costalba

More:

Timestamp: 1493436810 

Retire the misdesigned StepAttacks[] array. 

StepAttacks[] is misdesigned, the color dependance is specific to pawns, and trying to generalise to king and knights, proves neither useful nor convinient in practice. 

So this patch reformats the code with the following changes: 
- Use PieceType instead of Piece in attacks_() functions 
- Use PseudoAttacks for KING and KNIGHT 
- Rename StepAttacks[] into PawnAttacks[] 

Original patch and idea from Alain Savard. 
No functional change. 
Closes #1086 

⭐⭐⭐   Stockfish 17042905_costalba - download


Comments