Thank you! I have to say that Sjaak II looks like a very nice program, that
I hadn't come across up until now - and so far I have found that it works
beautifully with XBoard. The source code looks fairly easy to navigate too.
I'm trying to pluck up the courage to start tinkering with it, so that I
can implement double castling - although I fear that I may also need to
start modifying XBoard, and quickly find myself way out of my depth. But
out of all the open source chess engines I have looked at so far, this
could just possibly be one that I could do something with. And even if it
is beyond me, I'm sure I will have fun playing with it!