Git Product home page Git Product logo

velena's Introduction

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.

velena's People

Contributors

rchastain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

retronick2020

velena's Issues

color names are wrong in the status bar/menu

I like how you implemented this. just that the status bar and menus doesn't match the actual color of game pieces.

The menus and status bar refers to black and white players/turn but the actual game pieces are red and yellow.

have you compared this to an implementation that uses min/max. I forked a version of c4 in pure pascal. I am curious to know how that compares.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.