[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] HELP GNUBG ENGINE
From: |
Michael Petch |
Subject: |
Re: [Bug-gnubg] HELP GNUBG ENGINE |
Date: |
Mon, 07 Dec 2009 09:29:06 -0700 |
User-agent: |
Microsoft-Entourage/12.23.0.091001 |
I'm not sure if you are asking if you want to know how the positionID and
MatchID actually work (in the event you may also want to create your own
function, or use the existing ones). The Gnubg manual explains both here:
http://www.gnu.org/manual/gnubg/html_node/A-technical-description-of-the-Mat
ch-ID.html#A-technical-description-of-the-Match-ID
http://www.gnu.org/manual/gnubg/html_node/A-technical-description-of-the-Pos
ition-ID.html#A-technical-description-of-the-Position-ID
On 06/12/09 12:46 PM, "alexis oikonomou" <address@hidden> wrote:
> I'm trying to use the the gnubg engine with my own frontend what i
> cant understand is how to use the position lib, ive organized my
> BACKGAMMON TABLE in an array like int TABLE[28][2]; starting from the
> first place where player gathers his checkers following the ace point
> then 2th,3,4,5,,6,BAR,7..and so on until opponents gathering place and
> the second dimension of table is used to hold the number of checkers
> in each place and the colour of the checkers...How can i use the
> position lib to transform this array to POSITION ID key or is there an
> easier way to let gnubg know the current table? Thank you and sorry
> for my bad english....
>
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
>