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

computer-go: Programming Go in Java!



Hi everybody,

I have programmed a Go Board in Java that allows users to place stones on a
board (alternating from white to black).

To increase the "smartness" of my board I wish to remove dead stones and
detect suicide etc.

I have attempted to implement these techniques but to no avail.

As the code is fairly long, the source code for my Java Go Board is at the
following address(s):

http://users.anytimenow.com/benthomson/GoBoard.java (for the main board)
http://users.anytimenow.com/benthomson/Illegal.java (for checking if stone
is illegal placement - not fully working)
http://users.anytimenow.com/benthomson/AboutDialog.java (for the about
dialog)
http://users.anytimenow.com/benthomson/SuicideDialog.java (for the suicide
dialog)


Could someone have a look at tell me the best way to do this?

By the way, I have written this in Java with very little working knowledge,
so please phrase replies in an easy to understand manner :O)

Many thanks,

Ben Thomson