On Sat, Jan 26, 2019 at 08:03:33PM -0800, Robert Edgar wrote: > I think there is a bug in your pubEvalVal() function in > gnubg-nn/gnubg/eval.c as explained in the attached PDF. If there are men > on the bar, these are not subtracted from the number of men off and the > total number of checkers is >15.
I think you are right. "men off the board" in Tesauro's description may be slightly ambiguous (maybe the bar is not part of the board ?) but his code sample (if (pos[26]==15) return(99999999. /* all men off, best possible move */) is not. FWIW, I tried 100k games against gnubg for each choice, just in case the fix led to clearly better play, but he difference is insignificant. _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg
