play_random_game(): Do not give first move special significance
commit63637682df28c14607f7f6f895de6f3ced50532b
authorPetr Baudis <pasky@ucw.cz>
Sat, 8 Mar 2008 23:21:11 +0000 (9 00:21 +0100)
committerPetr Baudis <pasky@ucw.cz>
Sat, 8 Mar 2008 23:21:11 +0000 (9 00:21 +0100)
treeaec76a1086f49acc7f221676f3f8e66ed6cc131f
parent553283c039cf9be7d334cf777dd0390159002482
play_random_game(): Do not give first move special significance

Previously, first move was reported back to the caller for the use of the
Montecarlo engine; also, there was special policy hinting for the first move,
and an explicit suicide check, which is actually harmful for UCT (if suicides
are only remaining moves on the board, the playout always returns error and the
nodes are never expanded to handle the suicides properly).

Now, Montecarlo is playing out the first move by itself; play_random_game() was
considerably simplified.
montecarlo/montecarlo.c
playout.c
playout.h
uct/uct.c