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/Fabulous_Bite_4832 Jul 03 '26
Hi, first of all thank you for the advice. To address the stockfish NNUE, generating my own isn't really an option as I have read online that with modern hardware it can take up to 2 weeks, and my pc is like 12 years old, which is also the reason I cannot further optimize Duca like I said in the README. I went for one of stockfish's old NNUE because I read online that it's open source and a lot of amateur chess engines do the same.
I know 2 weeks is a very short time, even though in those 2 weeks I coded for like 13-14 hours a day, and that's the main reason why I think the code is full of bugs. I have not been using SPRT, in reality I haven't even really tested my engine against itself or against other engines, someone on reddit did it for me and yeah It didnt go very well, although for some reason when they used the same precompiled binary as me in the same position he played different moves on his pc than on mine. For some reason when I tested it against another engine(I only did 1 game) it was winning the whole time and then just blundered 2 rooks in 1 move xD
About the version management, the fact is, this was the first time I used git, all my projects have always been private so I never posted any on github, and so I was used to storing projects like that on my machine, I just thought I could do the same with git, but appearently not. Would you be so kind to tell me how I should have used git properly?