I have a program which plays Connect Four against a human opponent using either standard Minimax algorithm or minimax with alpha-beta pruning. Both algorithms have a depth limit, after which they apply an evaluation function. As part of the project I had to create performance curves showing the number of nodes of the search tree expanded by the algorithms, per turn of the computer. The curves show a downward trend, as expected, since the number of possible states goes down as the game progresses. However, I can't explain why the number of nodes increases in the second turn of the computer, most prominently in the alpha-beta case, as can be seen in the images below:
These curves were built based on a test game where the human played first and a depth limit of 8 plies. Does anyone know why the curves are not strictly decreasing?