Skip to content

greg-kurzepa/connect4

Repository files navigation

connect4

Minimax connect 4 algorithm as well as a pygame-built GUI. From the video you can see that the algorithm (who played yellow) doesn't differentiate between a guaranteed victory now or a guaranteed victory later. It seems the recording software wasn't able to properly capture the window, so there is a bit of a buggy mouse in it.

The minimax file must be compiled for your system using cython (pip install Cython).

All the files should be in the same folder. Then, while in that folder, compile the processor.pyx file by running py compiler.py build_ext --inplace

Then run connect4.py to play.

About

Minimax connect 4 algorithm as well as a pygame-built GUI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published