bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Feature Request: Python Support for hint()


From: David Levy
Subject: Re: [Bug-gnubg] Feature Request: Python Support for hint()
Date: Wed, 17 May 2006 17:54:26 -0700

>The trouble is that gnubg.command("hint") doesn't return anything. 

>>Yes, true! ... but have you tried the python methods: 

>gnubg.cfevaluation() 
>gnubg.findbestmove() 

>These methods usually return the information you want. 
>If it doesn't I'll rather make a change to these methods.... 

>-Øystein 

gnubg.cfevaluate() looks perfect for cube actions. It's nice because it
gives equities for
all possible cube actions, so it is easy to see the magnitude of errors. 

gnubg.command('hint') is nice because it has a list of moves with
evaluations, so you can see 
how bad are the alternatives. 

If gnubg.command('hint') is a dead end, could something else return the list
of candidate 
moves along with the equity and the evaluation (six numbers giving the
chances of 
each player winning, winning a gammon and a backgammon) for each?

Thanks,

David






reply via email to

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