bug-gnu-chess
[Top][All Lists]
Advanced

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

Node Count / ScoreK


From: Chess
Subject: Node Count / ScoreK
Date: Wed, 05 Mar 2003 23:02:33 -0600

Hello All.

Here's a bug:

$ cat bug.txt
easy
post
book off
new
depth 4
go
new
depth 4
go
new
depth 4
go
new
depth 4
go
quit

$ gnuchess < bug.txt | grep Nodes=
Time = 0.0 Rate=99999 Nodes=[846/24/870] GenCnt=841 <==
Time = 0.0 Rate=99999 Nodes=[845/24/869] GenCnt=841
Time = 0.0 Rate=99999 Nodes=[845/24/869] GenCnt=841
Time = 0.0 Rate=99999 Nodes=[845/24/869] GenCnt=841

There's an extra node, but only the first time.

And here's the fix, in eval.c, ScoreK() :

/* --- remove this ---*/
/* pawncover[3] = 30; */

/* --- change this --- */
/* static int pawncover[9] = { -60, -30, 0, 5, 30, 30, 30, 30, 30 }; */
static const int pawncover[9] = { -60, -30, 0, 30, 30, 30, 30, 30, 30 };

/* --- Mike --- */
 - - - - - - - - - - -
http://web.wt.net/~chess/





reply via email to

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