r/ComputerChess • u/Fabulous_Bite_4832 • Jul 01 '26
Duca Chess Engine
In the past 2 weeks I have put my mind to developing a Chess Engine from scratch in C++, i have published 7 distinct versions of it but unfortunately im not able to further optimize it, if you'd like to know why and maybe help me out feel free to check its github repo, here's the link:
https://github.com/just-Lucky/DucaChessEngine
Im no C++ expert, so the code is most likely full of bugs, feel free to contact me if you find any
9
Upvotes
View all comments
Show parent comment
1
u/AngusMcGurkinshaw Jul 03 '26
SPRT: https://www.chessprogramming.org/Sequential_Probability_Ratio_Test
You need to be doing this if you want a strong chess engine. You want to test that a change is a statistically meaningful improvement. The reason I say 2 weeks is short isn't because its a lot to write, but because SPRT testing takes awhile to complete.
Generating data isn't that painful, its done on fixed nodes so its totally fine to do it on hardware, just turn it on overnight. You also don't really even need that big of a NNUE even a 32 wide hidden layer will crush most HCE. Or just embrace the HCE lifestyle that is also a fun place to be. I think that is much more rewarding then yoinking a stockfish net.
But it is true for these things that having stronger hardware will help, so do with that what you will.
When it comes to git you should be using commits. Then if you want to test an older version of your engine you just checkout a specific previous commit. I would recommend you go do some reading online as it is super useful in version managing, even if you only plan to keep things locally on your machine.