rchastain / velena

Connect Four engine by Giuliano Bertoletti, with an original GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Connect Four engine by Giuliano Bertoletti, with an original GUI


Languages

Language:C 83.1%Language:Pascal 16.8%Language:Pawn 0.1%Language:Shell 0.0%