Connect Four engine by Giuliano Bertoletti, with an original GUI.
The GUI has been developed with Lazarus, using the BGRABitmap library.
You have to build the engine (a C program) and the GUI (a Lazarus project).
To build the engine, open a terminal in engine folder and type the following command:
gcc -m32 -c *.c
gcc -m32 *.o -o ../connect4
The engine must be compiled to 32-bit application, otherwise it doesn't work well. This is the reason for the -m32
option.
To build the GUI, open with Lazarus the velena.lpi project in gui folder.
Both applications, connect4[.exe] and velena[.exe], must be in the same directory, with lang.cfg (a language file) and white_ob.cn4 (the opening book for the engine).
You can change the language of the interface by starting the application with a parameter like, for example, -l de-de
or --lang=de-de
(for a german-speaking interface). Language currently available are english, french and german.
The translation is done by means of Lightweight Translation Manager by Patrick Lampke.
The wood texture comes from this page.