[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Using GNUBg ID

From: Michael Petch
Subject: Re: [Bug-gnubg] Using GNUBg ID
Date: Fri, 03 Jul 2009 19:23:21 -0600
User-agent: Microsoft-Entourage/

On 03/07/09 6:58 PM, "Yoshito Takeuchi" <address@hidden> wrote:
> Now I challenge make program that is GNUBg ID translate to board image(HTML).

If you are using the latest versions this feature does exist. To use it find
a position you would like (Cube or Move) and then on the "edit" menu select
"copy as>"/"GammonOnline(HTML).

This will put HTML in the copy and paste buffer that can be pasted into an
html file to show a pretty graphical board of the position.

> GNUBg ID sample is looks like "g9vBASSYZ8wBBg:cIkmAQAAAAAA" on the top
> in GNU backgammon.
> This is at work.
> http://vmware.kinchan.com/cgi-bin/makeboard.cgi
> I have questions.
> I check GNUBg ID is correct or not only how many letters.
> ( Position ID + ":" + Match ID is 27 letters )
> Do you have another idea ?

The documentation for how GnuBG ID (Match and Position ID's) can be found


The key thing to note is that the Matchid and PositionID are base64 encoded.

> Now, the position export plain text bye GNU backgammon,
> Display GNUBg ID is
> ---------------------------------------------
>  GNU Backgammon  Position ID: g9vBASSYZ8wBBg
>                  Match ID   : cIkmAQAAAAAA
> ---------------------------------------------
> I love
> ----------------------------------------------------------
>  GNU Backgammon  GNUBg ID   : g9vBASSYZ8wBBg:cIkmAQAAAAAA
> ----------------------------------------------------------

If you are using newer version of GnuBG you can copy all 4 lines above into
the GnuBgID text box (In the GUI) and GnuBG will actually strip off all the
extra stuff and convert and combine it for you.

Hope that helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]