UCT dynkomi: Decide whether to use on last-genmove-color inst. of to-play-color
commitf372aaf1b178065a2f09d79a6bb0e1f6651735c1
authorPetr Baudis <pasky@ucw.cz>
Thu, 11 Feb 2010 01:39:38 +0000 (11 02:39 +0100)
committerPetr Baudis <pasky@ucw.cz>
Thu, 11 Feb 2010 01:39:38 +0000 (11 02:39 +0100)
treec8f4ccdb1bcd0c53c844891abffd110a8728bb34
parent245f155e58a11fda0ab839df4715607a80d54248
UCT dynkomi: Decide whether to use on last-genmove-color inst. of to-play-color

The original simpler method failed in case of pondering, which would not
use dynkomi even when the bot was playing black. This led to badly confused
trees and consequently, horrible play in handicap games.
uct/tree.h
uct/uct.c
uct/walk.c