[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] changed genmove() interface
From: |
Gunnar Farnebäck |
Subject: |
Re: [gnugo-devel] changed genmove() interface |
Date: |
Fri, 05 Nov 2004 14:26:07 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI) |
Heikki wrote:
> Since we have PASS_MOVE, why not have a RESIGN_MOVE as well? That would
> save a parameter here, and probably many other places as well, and be
> more consistent.
Because genmove() is supposed to generate a move, regardless whether
it thinks that resignation is called for. What would make sense,
however, is to remove the resign considerations from genmove() and
have them in a separate function that can be called separately. There
are some technical difficulties with that though, so I didn't want to
go that far with this patch.
/Gunnar