


No matter what you do, she will be captured by the opponent at ply 4, except for one specific case where her death will happen at ply 6. Finally, suppose that your queen is trapped.However, if you had looked one ply further, you might have discovered that capturing the pawn left your queen undefended. The program would be likely to score this position in a favorable light, and your program might decide that the continuation leading to it is a useful one. Now, suppose that, at depth 5, you capture a pawn.Not only would searching to depth 5 be a colossal waste of effort, it may also allow the machine to finagle its way into an illegal solution! Obviously, you don't want to keep searching, because the final state of the game has been resolved. Along a certain line of play, you discover a position where one of the players is checkmated or stalemated at depth 3.For example, suppose that your program uses an iterative-deepening alpha-beta algorithm with maximum depth 5-ply. So far, all of the search algorithms we have looked at examine a position's consequences to a fixed "depth". In most cases, the concepts (if not the actual code) also apply to a variety of other 2-player games adapting them to your particular problem, however, shall remain an exercise for the proverbial reader. In this next-to-last article, we will examine advanced search-related techniques which can speed up and/or strengthen your chess-playing program. If you choose unlimited, your computer or device will keep looking ahead indefinitely! After a few minutes though it will take a very long time for the next move deep, since it gets exponentially harder to look each move deeper.Hey, it looks like there are dozens (and dozens) of you reading this series! I'm tickled pink! If you click on the dropdowns you can adjust the depth or 'moves ahead' you want the analysis to look: When you are doing self analysis (playing out your own moves, separate from the game report, in the analysis tab' then the analysis is done by your own computer or device, and so is a bit slower. This means the analysis is much quicker and stronger. The game report and positional analysis are calculated in the 'cloud' meaning the analysis is done using 's servers. If you are a premium member you can adjust the depth by clicking the setting gear icon to the right of the depth: Note: this number can be higher, as in the picture above, when the engine is analyzing a 'book move' because the engine already has loads of data on the opening moves, and is able to look much farther ahead. The higher this number, the more sure you can be about how accurate the engines decisions are. This number describes how many moves ahead the engine is looking in order to make its decision on what the best move is, what is a blunder, and so on. What is analysis depth? What does it mean?Īfter running a game report, and looking at the analysis tab, you may have noticed a number describing the 'depth' in the upper right corner:
