gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] snapback, connect.tst 23, 39


From: Teun Burgers
Subject: Re: [gnugo-devel] snapback, connect.tst 23, 39
Date: Wed, 14 Nov 2001 22:44:19 +0100

Gunnar Farneback wrote:

> No, it has nothing to do in board.c. It has passed the boundary
> between basic board manipulation and tactical reading. Should it be
> moved anywhere it would be to reading.c, but there we already have
> functionality to do this. To be more precise, if you want to do
> snapback(str) you should instead do attack(str, NULL) and reverse the
> result.

Then it would make sense to rewrite snapback in terms of already
existing functions, add it to reading.c and reuse that in readconnect.c

> There is one exception to this rule and that is that it's not clear
> whether GNU Go's tactical reading will work together with Tristan's
> connection reader in readconnect.c.

Sounds cryptic to me.

> That's why there's a snapback()
> function there.

If this unclarity has been resolved, then it would be preferable
to use a snapback function from reading.c

Teun



reply via email to

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