For the record, the part of cyberfish's reply that was on topic:
Originally Posted by cyberfish
I just coded it up in 20 mins... bugs might have creeped in, but otherwise the AI is unbeatable. It can already prove that the game is a draw with perfect play by both sides. (analysis from the initial position)
Originally Posted by Bjarne Stroustrup (2000-10-14)
I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.