bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] HELP GNUBG ENGINE


From: alexis oikonomou
Subject: [Bug-gnubg] HELP GNUBG ENGINE
Date: Sun, 6 Dec 2009 21:46:24 +0200

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....




reply via email to

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