From 9c1bb0823bd4405146948deb93de72158e759f03 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 23 Sep 2009 13:01:02 +0200 Subject: [PATCH] Moggy: playout_moggy_permit() debug print --- playout/moggy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playout/moggy.c b/playout/moggy.c index e682e31..b0a7bf2 100644 --- a/playout/moggy.c +++ b/playout/moggy.c @@ -623,6 +623,10 @@ playout_moggy_permit(struct playout_policy *p, struct board *b, struct move *m) * They suck in general, but this also permits us to actually * handle seki in the playout stage. */ /* FIXME: We must allow self-atari in some basic nakade shapes. */ +#if 0 + if (is_selfatari(b, m->color, m->coord)) + fprintf(stderr, "__ Prohibiting self-atari %s %s\n", stone2str(m->color), coord2sstr(m->coord, b)); +#endif return !is_selfatari(b, m->color, m->coord); } -- 2.11.4.GIT