This article is part of a series – the contents page is here.
Throughout this series we’ve referred to the evaluation function and in the last article we saw how the minimax algorithm calls it. Now, at last, we can reveal it.
You might be surprised by how simple it is. Or maybe not. It probably depends on how good you are at chess, and whether you’re a glass-half-empty or glass-half-full person. Personally, I’m quite intrigued by how such a naïve function can sometimes pull off moves that aren’t half bad. But yes, I have to concede that sometimes it does some pretty dumb things (although it can be very hard to tell how much of that is due to the over-simplification of the evaluation versus the horizon effect).Continue reading