[Top][All Lists]

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


From: Michael Petch
Subject: Re: [Bug-gnubg] HELP GNUBG ENGINE
Date: Mon, 07 Dec 2009 09:29:06 -0700
User-agent: Microsoft-Entourage/

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:



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

reply via email to

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