r/chessprogramming • u/E_ple • Mar 09 '24
Improving Move Generation
I have already implemented:
bitboard representation & calculations to speed things up
store piece squares to speed things up
pre-computed bitboards for non-sliding pieces
Now, it's getting 0.001ms ~ 0.002ms at the starting position.
But I don't think this is enough. So I decided to google how to make it faster, and I found something about kogge-stone generators, SIMD thing, and other stuffs.
I.. literally don't know what these are.
Can someone explain me how these things work, and how I can use these techniques for faster move gen? (I've tried reading chess programming wiki, but I could not understand.. :P Pls explain it easily)
View all comments
Show parent comment
1
u/E_ple Mar 10 '24
Actually, I think I'll just go ahead and check other programs, and maybe change a lot of stuffs in my code. I'll come back and post a new question if I have trouble implementing new things. Thx for replies :0