PyConnect4-Minimax

Play connect4 against a minimax algorithm implementation in python using pygame.

Results obtained with depth 4:

gif (1)

Results obtained with depth 2:

gif

As we can see the further the depth the better plays the algorithm will make, and as a results it will be able to prevent inevitable defeat.