-
-
Notifications
You must be signed in to change notification settings - Fork 221
Description
Could we implement bent sliders?
I've been going through the code, but I'm new to chess-engine programming. I understand that different slides have different bitboards, and that these are used along with pre-computed magic bitboard tables to generate moves. I would naively guess that each leg of a bent slider's journey would have to be generated independently, but that each leg should already have a pre-computed table. I haven't yet figured out how Fairy-Stockfish handles N-square limited slides, or selective directions per a slider atom, but it's clear there's already a great deal of discrimination between different directions, so my first thought is that bent sliders should be possible with different composition rules.
Where in the code might be a good place to start looking at this, and is there any resource for better understanding how things are currently handled, say, somewhere like https://www.chessprogramming.org/?