[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Level and time_left
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] Level and time_left |
Date: |
Sat, 07 Feb 2004 14:29:30 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
Michael Goetze wrote:
> I am running two GNU Go bots on KGS, and it seems that in recent
> versions it adjusts it's level based on info it gets from the time_left
> GTP command. But... is there anyway to get it to default to a level
> above 10?
The intention is that it should work to just use the --level option. I
see now that's is also necessary to set --max-level to at least as
much. With the appended patch future versions will behave a little
more intuitively.
> FYI, 3.5.4 with Cosmic ("CosmicGnu") is currently rated 10k and 3.5.4
> without cosmic ("GNUbie") is rated 8k, though they have not been played
> for very long yet...
Also on NNGS cosmic seemed to do somewhat worse. It'll be interesting
to see how this looks when more games have been played.
/Gunnar
Index: interface/main.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/main.c,v
retrieving revision 1.90
diff -u -r1.90 main.c
--- interface/main.c 24 Jan 2004 04:04:56 -0000 1.90
+++ interface/main.c 7 Feb 2004 13:20:18 -0000
@@ -799,6 +799,10 @@
case OPT_LEVEL:
level = atoi(gg_optarg);
+ if (level > max_level)
+ max_level = level;
+ if (level < min_level)
+ min_level = level;
break;
case OPT_MIN_LEVEL: