bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] External interface


From: Jim Segrave
Subject: Re: [Bug-gnubg] External interface
Date: Sat, 2 Dec 2006 01:28:33 +0100
User-agent: mutt-ng/devel-r804 (FreeBSD)

On Fri 01 Dec 2006 (12:23 +0100), Hauser Dietmar wrote:
> > As far as I know, going to Settings->Players->Player 0 allows you to
> > set how gnubg will play. Then doing Settings-Save Settings will allow
> > you to set up a gnubg with an external interface at whatever playing
> > strength you've chosen for it.
> 
> Ok, I did some more tests.
> 
> I set the noise to 1.000 and turned deterministic off.
> When I play against the AI using the gnubg Gui, it plays totally random.
> However, when I play against it using the external interface, it does
> not play randomly. 
> It starts building that nasty wall of checkers like it always does.
> 
> So, my conclusion is, that, when using gnubg in "external" mode, it
> always uses the default AI settings.
> 
> Here are the settings I've used in the test:
> 
> set player 0 gnubg
> set player 0 chequerplay type evaluation
> set player 0 chequerplay evaluation noise 1.000
> set player 0 chequerplay evaluation deterministic off
> 
> set player 1 gnubg
> set player 1 chequerplay type evaluation
> set player 1 chequerplay evaluation noise 1.000
> set player 1 chequerplay evaluation deterministic off
> 
> (I changed both players to be on the safe side)
> 
> I'm sending stuff like this to gnubg:
> "board:CW:CCW:1:0:0:0:-2:0:0:0:0:5:1:2:2:3:1:0:0:0:0:0:-1:0:-7:0:-3:-1:-
> 1:1:0:-1:5:3:0:0:1:0:0:0:-1:1:0:25:0:0:0:0:2:0:0:0"
> 
> 
> Any insights on this?

Yep, I should have read the code before answering. When playing on an
external socket, gnubg is using the Evaluation settings. Go to
Settings->Evaluation and add noise there. I assumed, wrongly, that it
used the player0 settings. Probably it should do so, using the
Evaluation settings (normally used just for hints), seems
not-intuitive to me.

-- 
Jim Segrave           address@hidden





reply via email to

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