The ConnectFour Saga

My Adventures building a program to play Connect Four.

What?

A game in which players take turns dropping buttons into slots on a 7x6 board. The first one to get four in a row horizontally, vertically, or diagonally wins. (Ya, I ripped off this picture from the website below.)

Why?

One lazy summer day during that dead space between spring and summer semester, I decided to get my computer to play connect four just for the heck of it. I was inspired by a problem from the latest UT ACM/UPE programming contest, in which one of the problems was to recognize the winner given a sequence of moves. Having already implemented this, I decided it would be pretty easy to get it to actually play the game.

For this project I decided to use python 2.3 (slow, but easy to use). It was sort of a default choice since I was rusty in everything else, except C/C++, which I refuse to use.

When it is done, I plan to reimplement it in Haskell in order to

How

I am documenting the software journey that will finally lead to a brilliant, unbeatable game engine. Here are the many incarnations of my program.

The Future

Another reason for this project is to gain strategy game programming experience for any future projects I might be working on...