selfatari_cousin(): Suggest counter-captures
commit5069a9af0771951f8ab320faba20ea034efedf4d
authorPetr Baudis <pasky@ucw.cz>
Mon, 4 Aug 2014 01:39:51 +0000 (4 03:39 +0200)
committerPetr Baudis <pasky@ucw.cz>
Thu, 7 Aug 2014 22:28:48 +0000 (8 00:28 +0200)
tree12dfeddafd0f3b2f32958f03a80e9d1d5743865d
parent8266193a90cb4c8a29d843bd2975d0b758d4d196
selfatari_cousin(): Suggest counter-captures

When looking for alternatives of a self-atari move, aside of the
other liberty also look if we can counter-capture an opponent's
group.

This improves handling of some false-eyeish corner situations,
where we will more often capture the falsifying opponent stones
rather than connecting the pseudo-false eye (which can be fatal
to the status of the group).
tactics/selfatari.c