[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Including function to get matchid in the gnubg Python mo
Re: [Bug-gnubg] Including function to get matchid in the gnubg Python module.
Thu, 17 Mar 2011 03:02:39 -0600
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20110303 Thunderbird/3.1.9
I had been using some code that did this for quite some time. Until
yesterday I had never got around to cleaning it up enough to put into
CVS. I have done so, and will appear in the next windows build.
There are 3 new Python functions available - gnubgid, matchid, posinfo.
The module help should be enough to figure out how they are used.
On the todo list is an xgid function.
On 17/04/2010 6:51 AM, stormen wrote:
> Are there any plans to do this ?
> The bits for cubevalue, cubeownership, crawford flag, score can easily be
> obtained from gnubg.cubeinfo(), but to me it seems tedious to get all the
> remainng bits for constructing the matchid from the match data structure
> when I want the resulting Python function to return the matchid of the
> position at wherever one has navigated to in a match after analysis.
> I normally code in Java and am completely new to Python, but if someone
> provides a quick roadmap for what's needed, I am guessing very little, I
> will give it a shot if anyone else would find a gnubg.matchid() function
CApp::Sysware Consulting Ltd.
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304
|[Prev in Thread]
||[Next in Thread]|
- Re: [Bug-gnubg] Including function to get matchid in the gnubg Python module.,
Michael Petch <=