Handtalk has a clever trick. He uses the LSB of the string number as the color of the string. Even strings are black and odd strings are white. So he only needs one array for the board which has both color and string number.
David > > 1. A 10x11 board (actually 10x11 plus 1 for diagonal > checking.) > > 0 = empty > > 1 = white > > 2 = black > > 4 = off-board points. > > > > 2. Another 10x11 board-like array - if there is a > occupied point on > > the board this array contains the index (hash key) of > a "string" > > data type. _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/