Alpha-beta pruning optimization is not working
I was building a Connect 4 game in C, but when I try to add alpha-beta pruning to the minimax algorithm it simply doesn’t work, can anyone explain why? This is a part of my code:
I was building a Connect 4 game in C, but when I try to add alpha-beta pruning to the minimax algorithm it simply doesn’t work, can anyone explain why? This is a part of my code: