lojic wrote: ↑Thu Feb 04, 2021 3:08 am
Are there other open source engines that should be on a "must look at" list - specifically for learning the concepts, as opposed to learning optimization techniques?
There are some:
Wukong and BBC by Maksim (CMK)
VICE by Richard Allbert (Bluefever Software)
The Javascript version fo VICE, also by Richard Allbert
Those are all covered by extensive video tutorials. I have watched all of them. (When CMK started doing his video tutorials, my engine was already 3/4th done, but I still got some stuff from them, because they explain some things just a bit differently. And I still need to watch his Texel Tuning video. I just hope that it's so good that I don't need anything else :p)
And, if I may say so, myself... my own engine Rustic.
It's heavily commented (about 35% of the source is comments). The comments don't explain WHAT the code is doing, because you can see that (hopefully, I try...) by reading the code itself; the comments explain WHY it is being done. It is also going to be accompanied by extensive documentation, which will basically be an extended version of the comments in the code.
It is also quite strong and fast (35-45 million leaves/sec in perft, and 3-5+ million nps when searching, on an i7-6700K) for an engine in this stage of development. It just
got tested by CCRL, and it scored a rating of just a smidge under 1700. It is stronger than many engines that sport a much bigger feature list.
One of the advantages of my engine at this point is that it doesn't yet contain any highly advanced stuff. If you download the repository and switch to the Alpha 1 branch, you'll have the most basic chess engine ever, that will still play a decent game. (But it *is* a magic bitboard engine, not mailbox.)