gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Go Diagram Generation Questions


From: Ricardo SIGNES
Subject: Re: [gnugo-devel] Go Diagram Generation Questions
Date: Fri, 14 Dec 2001 12:02:42 -0500
User-agent: Mutt/1.3.24i

On Fri, Dec 14, 2001 at 05:30:44PM +0100, Gunnar Farneback wrote:
> Ricardo wrote:
> > I'm working on a Go class to generate diagrams of boards, mostly for use in 
> > a
> > tutorial I'd like to write.  I want to make the class generically useful,
> > though, so I have a few questions that might help me achieve that goal:
> 
> This mailing list is for discussions about the development of GNU Go,
> a free go playing program, so your question is quite off-topic. I
> recommend you try your luck at the news group rec.games.go.

Indeed.  I have, and will, refrain from further off-topic-ness here.  I just
imagined there would be an answer, and some sympathy, here. ;)

> 
> > * Is there a way to compute star point locations?  At the moment, I am 
> >   storing them for given 'common' sizes (9,11,13,17,19)
> This question does actually have an on-topic answer. GNU Go uses the
> algorithm implemented in the function is_hoshi_point() in the file
> engine/showbord.c, which you e.g. can find at this URL:

Naturally, I use GNU Go to play go, myself.  A previous respondant pointed me
to engine/genmove.c -- which makes me now notice that you have two pieces of
code to generate hoshi.  
        engine/showboard.c      ;       is_hoshi_point()
        engine/genmove.c        ;       placehand()

I realize that they're slightly different, but I imagine that they could be 
normalized more.  As for the direct benefits of this normalization, I imagine
they'd be minimal.

Take that semi-pathetic idea as my thanks for your actually-helpful help.

Thanks!

-- 
rjbs

Attachment: pgpa5PKpRFirs.pgp
Description: PGP signature


reply via email to

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