[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reusable go board class in java?
>
> My ideal java goban would be able to accept stones from the user and from
> the computer, and would be able to display 9x9, 13x13 and 19x19.
does the goban know the rules of go (including (super-)ko)? does it know
how to take back a move, even if it means putting stones back on the
board? can it take back as many moves as you want? to me it sounds like
this is what you need. in openGo terminology, this is a board and referee
class together (someone please correct me if this is wrong, but i think
it's right)
or, on the other hand, do you simply want a goban that takes a set of
nodes (361 vector), and displays them? to me, there is not a lot of good
ground between these two. for example, if you want to implement a board
that knows about ko, but can't undo, you cannot extend this class to be
able to undo (because the ability to undo has to be built into the way
some info is stored).
>
> On Wed, 9 Dec 1998, Mousheng Xu wrote:
>
> > At 03:49 PM 12/9/98 -0800, Dan Stromberg wrote:
> > >Does anyone have a reusable go board class in java (or jpython or
> > >smalleiffel over java)? Something with well-abstracted interfaces?
> > Dan,
> > Do you want the board to display just 19x19 lines or be able to rule a
> > game? There is a lot of variations about what a board can have.
> > Your statement is "well-abstracted". :)
> > What requirements do you have for the board?
> >
> > -- Mousheng Xu
> >
> > >
> > >
> >
>