r/chessprogramming • u/kjiomy • May 25 '26
Chess engine next steps
Hi, I've been building a chess engine from scratch in c++ as a side project.
I've currently implemented iterative deepening, a negamax algorithm, quiescence search and transposition tables.
It currently manages to get to depth 8 in a few seconds, with around 7-14 million nodes visited.
I was wondering what would be the next steps to make it better, I know two major things are changing the generation of sliding pieces from a for loop to magic bitboards, and making a better evaluation function, maybe implementing an nnue.
These are big changes tho, and I was wondering if there's anything that I should do before.
View all comments
Show parent comment
1
u/kjiomy May 29 '26
Yes, I've verified my movegen with perft, and I do run it for every refactoring I do, just to check if I messed up.
As of time control I used iterative deepening, which works perfectly fine if the engine is run locally. The only problem i found was trying to play on lichess bot, where I could finish the time bacause of the latency.
As of SPRT I definetly have to start looking into it. Thanks for the help!