Closed JayPay108 closed 3 years ago
The minimax algorithm for this function is currently incorrect and will produce very unexpected (seemingly random) results at the moment. The chess engine works fine, but the AI is not functioning correctly
Fixed.
The board evaluation function will evaluate the board for whichever color has the current turn. The minimax function was not accounting for this.
The minimax algorithm for this function is currently incorrect and will produce very unexpected (seemingly random) results at the moment. The chess engine works fine, but the AI is not functioning correctly