kgs-genmove_cleanup, UCT pass_all_alive: Fix up semantics
commitc6e9d4fbe8a4f57acd1c7d9f5158d4ca94e07576
authorPetr Baudis <pasky@ucw.cz>
Sat, 27 Mar 2010 23:53:30 +0000 (28 00:53 +0100)
committerPetr Baudis <pasky@ucw.cz>
Sat, 27 Mar 2010 23:53:30 +0000 (28 00:53 +0100)
tree8dbe0b0b3bfe25ed82a75af3a8edf46e469f3381
parentc72ab68eb44a219b5620518c8633c33f6a19fd3d
kgs-genmove_cleanup, UCT pass_all_alive: Fix up semantics

Dan Reish pointed out that Pachi mishandles kgs-genmove_cleanup;
it turns out KGS misbehaves wrt. dead stones in case Pachi agrees to
stop the game during kgs-genmove_cleanup, but wms does not want
to fix that.

So, make Pachi strictly follow the genmove_cleanup protocol - instead
of passing only if Pachi wins when all stones are marked alive, pass
if no stones are considered dead. This is less friendly to the user,
but strictly by the protocol.
uct/uct.c