Four in a row

Four in a row is a vertical board game. The package contains the source code and executables for GNU/Linux, Windows and DOS. It can be used as a textconsole-based program, or as a web based CGI-program (not for DOS).


It should be able to compile on any Unix-compatible system. It has been tested with GNU/Linux and NetBSD. It has been tested on AMD64, x86 and ARM based devices.


At the start you are asked for the number of players. Enter "2" to play with a friend, or enter "1" if you don't have any friends.

The grit is set up vertically and you can drop chips into the slots. Your goal is to get four chips in a row. This can be vertically or horizontally or diagonally. The game can also end with a draw, when all columns are full and nobody has won.

You can use the keyboard or on most systems the mouse to control the program.

Have fun!