[Top][All Lists]

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

Re: [Bug-gnubg] python module available?

From: Øystein Johansen
Subject: Re: [Bug-gnubg] python module available?
Date: Fri, 1 Jan 2010 13:09:32 +0100

On Thu, Dec 31, 2009 at 10:33 PM, Mark Higgins <address@hidden> wrote:
I'm coding up my own little backgammon simulator in python and want to benchmark it against gnubg. I was hoping there's a gnubg python module I can install and import that would expose the underlying engine so I can pass my generate boards and dice rolls into it, and have it return the set of possible moves ordered by what it thinks expected point scores are - that sort of thing.

Does such a module exist? I googled around a bit but didn't find anything.


I would strongly suggest that you use the benchmark databases from Josephs work. The benchmark databases can be found here:

(Plain ascii files)

The classify positions like gnubg main code, and we therefore also use the same benchmark (We mainly focus on the contact class). I believe this is the ideal way to check the strength of a bot, since it is quite fast and accurate enough. If you like this idea, look at Josephs code. I can also provide you come C code (depending on glib) which runs through a benchmark.

The other way of finding strength of a bot is to play long sessions against each other. Was that more of what you where thinking?


PS: Can you tell us more about your project? What's the AI technology? Neural net? What's the state? Can it do deeper searches? Cube evaluations etc? We're curious here.

reply via email to

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