Connect Four engine by Giuliano Bertoletti, with an original GUI
  • C 83.1%
  • Pascal 16.8%
Find a file
Roland Chastain 878de06cbc Retouch README
2025-07-20 18:25:01 +02:00
archives Upload all files 2020-08-25 12:02:07 +02:00
engine Define sleep function for Windows 2020-09-19 13:41:04 +02:00
gui Update version.inc 2020-09-21 12:09:22 +02:00
images Delete unused files 2020-09-13 12:04:01 +02:00
screenshots Upload new files 2020-09-13 12:01:15 +02:00
lang.cfg Upload all files 2020-08-25 12:02:07 +02:00
README.md Retouch README 2025-07-20 18:25:01 +02:00
white_ob.cn4 Upload all files 2020-08-25 12:02:07 +02:00

Velena

Overview

Connect Four engine by Giuliano Bertoletti, with an original GUI.

The GUI has been developed with Lazarus, using the BGRABitmap library.

Screenshot

Build instructions

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).

Language

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.

Credits

The translation is done by means of Lightweight Translation Manager by Patrick Lampke.

The wood texture comes from this page.