[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Heeroy game?
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] Heeroy game? |
Date: |
Sun, 10 Feb 2002 23:14:58 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
Dan wrote:
> I've put up a patch at devel.html called caution_1_25.1
> which implements the following scheme. Note that since an
> earlier patch the owl threats are now computed for thrashing
> dragons. (If the opponent's last move is a dead stone in our
> territory, the dragon it encompasses is called thrashing.)
Just one comment on the patch:
> - /* If we're instructed to capture all dead opponent stones, generate
> - * a capturing move.
> - */
> - if (val < 0.0
> - && !doing_scoring
> - && (capture_all_dead
> - || opponent_not_passing(color, score))
> - && aftermath_genmove(move, color, NULL, 1) > 0) {
> - ASSERT1(is_legal(*move, color), *move);
> - val = 1.0;
> - TRACE("Aftermath move at %1m\n", *move);
> - move_considered(*move, val);
> - time_report(1, "aftermath_genmove", NO_MOVE, 1.0);
> - }
> -
Removing this breaks the --capture-all-dead option. A better change is
to just take out the opponent_not_passing() call.
/Gunnar