Skip to content

Connect Four engine by Giuliano Bertoletti, with an original GUI

Notifications You must be signed in to change notification settings

rchastain/velena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Velena

Overview

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

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

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.