Myrddin is an ancient engine written by a lazy programmer who hasn't bothered to rewrite any the glaring issues coming from early naive design "decisions" that seemed perfectly reasonable at the time. The first version, written in 2009, was over 2200 lines of code including header files, and it was rated about 1150.

I've poked around in your code and it is certainly streamlined and elegant. Your use of one-character variables makes it a bit challenging for me when I see lines like:
Code: Select all
if ((r && s > bs) || (α < s && s < β)) s = -pvs(-β, -α, d + e - 1);

But eventually I can wrap my head around it.
I suppose, maybe, I might retire Myrddin and start a new engine. But, like I said, I'm lazy.
