Minimax C++ Checking correctness of minimax in my form and eval function?
I would be interested in the correctness of this minimax execution, I have a problem with the fact that if, for example, I throw out the opponent’s queen in the last dive, then this move is evaluated with a large number of points, but it was preceded by meaningless moves and it seems to me that the min-max does not proceed correctly.
Check Correctness minimax C++
my minimax does not work as I would imagine, it seems to me that according to the proposed eval function it does not select the maximum value, but I am a beginner and so I am not sure if minimax is implemented correctly