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

RE: computer-go: Sharing Go modules



> The coordinate coding method that I use is X,Y converts to X+Y*20. The
> arrays are all 421 long where all te points at 0,Y and X,0 contain special
> values to make it easy to detect the edge of the board. This is a
convenient
> coding since it's still fairly easy to see which coordinates they
represent
> (for example: 63 is 3,3 and 356 is 16,17). However I do realise that every
> Go programmmer has their own idea of how this should be done and that
> there's little chance that I can convince everyone in the world to use
this
> scheme (that would be nice though <grin>) instead of using separate X and
Y
> coordinates.

This is a good scheme. It's the same scheme SmartGo uses, so at least two Go
programs have independently reached exactly the same solution. Please go
ahead and convince the rest of the world. :-)

Anders Kierulf
www.smartgo.com