From 466195afb6317833607d1b1642dceeeedc58e66c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 26 Sep 2009 02:15:40 +0200 Subject: [PATCH] UCT: Do not load opening book unless the game just began and we're black --- uct/uct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uct/uct.c b/uct/uct.c index 3c55401..4f9861b 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -226,7 +226,7 @@ prepare_move(struct engine *e, struct board *b, enum stone color, coord_t promot if (UDEBUGL(0)) fprintf(stderr, "Fresh board with random seed %lu\n", fast_getseed()); //board_print(b, stderr); - if (!u->no_book) + if (!u->no_book && !b->moves && color == S_BLACK) tree_load(u->t, b, color); } -- 2.11.4.GIT