[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUbg - asking for help
From: |
Guido Flohr |
Subject: |
Re: GNUbg - asking for help |
Date: |
Fri, 10 Nov 2023 09:41:10 +0000 |
Hi,
I am listed because I had done some small contributions to GNUbg in the past.
But I’m not really an expert on it. For your project you should subscribe to
the GNUBG mailing list, see https://lists.gnu.org/mailman/listinfo/bug-gnubg
First of all, GNUBG can be started in headless mode on the command-line with
”gnubg --tty”. Try ”gnubg --help” for more options. The most interesting one
for you will probably be ”--python=PYTHON_SCRIPT”. The Python interface is
documented here:
https://www.gnu.org/software/gnubg/manual/html_node/Python-scripting.html
Maybe simpler is to use the external interface of gnubg. This is unfortunately
undocumented. But this post from the mailing list may help you:
https://lists.nongnu.org/archive/html/bug-gnubg/2008-02/msg00046.html There is
also this github repository that uses the external interface:
https://github.com/marekful1/MatchDog For starters, run ”gnubg --tty”, and then
type ”external localhost:2345”. Then you can connect to that socket with
”telnet localhost 2345”, and talk to the engine like described in that post to
the mailing list.
This is pretty much all I know/remember. You will probably get better advice
from the mailing list. I will Cc this reply to the list.
Cheers,
Guido
> On 10 Nov 2023, at 9:21, Lior <lior.backgammon@gmail.com> wrote:
>
> Hello Guido,
>
> I'm contacting you because I found your email address in Savanna.
>
> I'm working on a personal project to create an electronic Backgammon board
> that can recognize the position of the board and then send it to a software
> that analyses the position. My goal is to have a real time transcription and
> analysis of a game, so I can play and discuss live matches with my friends
> and club members.
>
> Therefore, I'm planning to use GNUBG to analyse the positions. I don't have a
> solid technical background, although I work for tech companies and have basic
> code knowledge. Is there any developer documentation available?
> My goal is to extract the part of the code from GNUbg that handles the
> analysis, and create a service that I'll be able to call from my app to
> analyse the positions. I would give as an input the position configuration
> (checkers, match score, length...) and as an output I'd get all the analysis
> infos.
>
> Thank you for your help,
>
> Warm regards.
>
> Lior Levy 🎲 >
>
> 🇫🇷 +33 6 61 94 42 02
image.png
Description: PNG image
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: GNUbg - asking for help,
Guido Flohr <=