gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Owl Threats


From: Daniel Bump
Subject: [gnugo-devel] Owl Threats
Date: Wed, 6 Feb 2002 09:01:20 -0800

I put up a patch called owl_threats_1_25.1 which contains
gunnar_1_25.1. It isn't in the CVS yet.

This patch breaks out the owl threat loop from inside
the owl loop in dragon.c. That change doesn't affect
any test results. However it does identify a "thrashing
dragon", which is the dragon containing the opponent's
last move if that dragon is dead. This means the opponent
is trying to live inside our territory.

Even if the variable owl_threats is 0, the owl threats
are run for the thrashing dragon. (Unless disable_threat_computation).

I made the thrashing dragon a global variable because I
imagine it could get special handling elsewhere in the
code. For example we could use it in revising the
PREVENT_THREAT move reason in value_moves.c, and I
outlined a plan in a previous message for changing
the status of thrashing dragons to generate a move,
such as at move 275 of the Turbogo game from Dublin.
Such a change is not in this patch.

Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]