Sewi has asked for the wisdom of the Perl Monks concerning the following question:

I want to build a Perl/Web based Go game.
There are Games::Go::* modules for a valid-move-checking but there is no captured stone removal or final scoring as far as I see.

Any hints if there is some open source for these parts?

Replies are listed 'Best First'.
Re: Perl Go
by CountZero (Bishop) on Sep 19, 2010 at 19:57 UTC
    Games::Go::SimpleBoard knows how to remove captured stones. Have a look at its update method which calls the capture method.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James