Zach Wegner wrote:
On Thu, Oct 9, 2008 at 5:05 AM, Darren Cook <[EMAIL PROTECTED]> wrote:
My concern is that to include all the rules of go, including capture
logic, you need a few hundred lines of code... [snip]
Don't be so sure...
;)
Or use Perl. ;)
On a more serious note, a while back I wrote some "sample code" for the
few hundred lines of code required for the basic rules. It was part of a
Computer Go wikibook project that I haven't touched since getting that
basic part done, but hopefully it has enough information that anybody
could code up the basic rules in any language very simply:
http://en.wikibooks.org/wiki/Computer_Go/Writing_a_Go_Engine
The next part of my project was going to be writing a "random bot" that
just played random, legal moves. Extending this to use random playout
would be even more interesting, and could provide enough information for
people to easily code up the algorithm in whatever language they chose.
If anyone is interested in collaborating on this sort of project, please
feel free to let me know.
~ Ross
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/