[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] integration with gnubg
From: |
Øystein Johansen |
Subject: |
Re: [Bug-gnubg] integration with gnubg |
Date: |
Thu, 21 May 2009 10:32:42 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
Alexander Smirnov wrote:
> Hello
>
> I wonder if it is possible to reuse gnubg engine in my application. I'm
> developing open source backgammon game for K Desktop Environment and
> looking for strong computer opponent. Looks like gnubg is the greatest
> opponent we have now! :-)
Cool! How far have you come in the progress? Is this a Qt interface or
an full integration with KDE?
Do you have a source repository we can take a glance at?
> I do understand that I can easy get sources and start learning them.
> That's possible in open source world and that's really great! But before
> doing so I'd like to ask help from you, gnubg developers. Could you
> please give me a pointers, where to look first, is there some API i can
> rely on, what's the best way to deal with the engine.
I rather think we should consider defining an common API and or protocol
for backgammon evaluations.
Can you think of something? The absolutely basic functions such API
needs would be:
find_best_move()
evaluate_position()
Then you probably need more for handling cube and stuff. You also need
some data structure to store the stuff like 'move', 'board', 'evaluation
settings' etc.
Think about it for a while. A unified API or protocol whould be really
nice for the community. Just like winboard and UCI standards in chess.
-Øystein
signature.asc
Description: OpenPGP digital signature