I’ve made a Connect Four AI. There is a text-only version and a graphical version made with Pygame. You will need Python 3 (not Python 2) to play the games (and Pygame for the graphical version.)
In the graphical version, drag the red tokens over the top of the board to make a move.
Source Code and image files zipped.
fourinarow.py (text version, doesn’t need Pygame)
gFourinarow.py (graphical version, needs image files)


Neat. Next it would be cool to port an AI Mind like http://www.scn.org/~mentifex/AiMind.html into Python.
Posted by Mentifex on June 10th, 2011.
Very nice game, I’m planning to integrate it into a collection of educational games for children, ‘childsplay’ which is licensed under the GPL-3 license. http://sourceforge.net/projects/schoolsplay/
Can I put chunks of your code under the GPL-3 License ?
Of course I will send you upgraded images for the game as well as any improvements we perhaps make.
Posted by Stas on July 23rd, 2011.