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
Post a Comment