Program your own Chess Engine with Monte Carlo Tree Search

Deep Blue beats Kasparov The Chat-GPT moment of my childhood happened in 1997, when IBM's Deep Blue supercomputer defeated the then chess grandmaster Garry Kasparov, in 3.5 out of a match of 6 games. It was perhaps the first time that a significant demonstration of AI made headlines worldwide. A real eye-opener for me in school, and apart from the Terminator films, an inspiration for a career forged in the universities of Australia and Belgium a decade or more later. Since then, AI-based chess engines have grown ever more powerful and accessible. Chess.com allows you to play chess on your phone with chess engines in the cloud that are superior to Deep Blue. To a schoolboy in the 90s, this stuff was close to magic - I had almost no idea how one would go about building such a thing - and I had no one to ask or help me with such an endeavour. The subject of this post is to help someone like my 16-year old self, who is interested in building a chess engine, but doesn't know where t...