Connect Four

Prepare to pit your Connect Four skills against the machine. What skill level can you reach?

If you donít know how to play, youíve had a deprived childhood. Hereís a quick refresher: Connect Four is a simple, two-player board game played on a vertical checkerboard consisting of 6 rows and 7 columns. Each player makes a move by dropping a colored checker into a carefully selected column. The piece will fall to the bottom-most free space of the column. Consecutive drops in the same column cause the checkers to stack upward. Play alternates until one of the players forms a line of four (or more) checkers of the same color in a row in any direction (vertically, horizontally or diagonally). Draws are also possible if the board completely fills without forming any lines.



The links above probably require Internet Explorer... not to mention Windows... not to mention the latest version of the .NET Framework.

Connect Four was written in C#. It was tested on a 1.8 GHz single-core Windows XP box using .NET Framework 3.0. Feel free to hack up the source code. Remove the strong name key file and the certificate from the solution to avoid being prompted for a password during compilation.