I meant that chess engine programming is too hard for me in general. I
naively thought that I could copy & paste a few lines of code and make some
minor alterations. But I can't understand a single line of the code that you
posted. I once created an application that played Connect 4 (in Java). But
that was quite a few years ago, and even then I didn't understand it (it
was a copy & paste job - even at the time I didn't understand how minimax
works). So I think that is why I overestimated what I was capable of. But
the truth is, this is beyond me - so I'm giving up on this project now.
btw I just want to say that Fairy-Max (in XBoard) was one of the first
chess programs that I played after switching from Windows XP to Linux, and
I still play it occasionally (it's a good Latte Chess opponent for me
too)... so thanks for that :-)