bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] new Raccoon's brain


From: Joern Thyssen
Subject: Re: [Bug-gnubg] new Raccoon's brain
Date: Wed, 26 Feb 2003 09:27:51 +0000
User-agent: Mutt/1.4i

On Tue, Feb 25, 2003 at 06:10:04PM -0800, Jaro wrote
> Hi, everybody
> I created gnubgeval DLL using cygwin and mingw. 
> 
> When I call FindBestMove for position "4HPKATDgc/ABMA" and dice 6,5;
> it returns me best move 8->2, 8->3 what seems not to be the best move
> according to GNU Backgammon. I tried this function for many other
> positions, result is simmilar, sometime it returns the best move from
> GNU bg list, sometimes not. (btw. it returns always valid move).

Do you have the neural net present in the same directory as your bot?
(gnubg.weights or gnubg.wd)

> 
> cubeinfo what im sending to DLL is 
> 
> ci->nCube = 64; 

Should be 1

> ci->fCubeOwner = -1; 
> ci->fMove = 1; 
> ci->nMatchTo = 7; 
> ci->anScore[0] = 2; ci->anScore[1] = 0; 
> ci->fCrawford = 0 ; 
> ci->fJacoby = 1; 
> ci->fBeavers = 0; 
> ci->arGammonPrice[0] = 0;
> ci->arGammonPrice[1] = 0;
> ci->arGammonPrice[2] = 0;
> ci->arGammonPrice[3] = 0;

I would call SetCubeInfo as it'll calculate the correct gammon prices.

Jørn




reply via email to

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