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

Re: computer-go: Sharing Go modules



On Tue, May 15, 2001 at 06:02:58PM -0400, Lars Nilsson wrote:
> And just to add $.002, the subtraction version works just fine if one
> subtract the current color from the sum of both colors, so no need for an
> array..

I'll see your $.002, and raise to $.003 ;-)

Yes, as long as you only consider black and white. Add other values into the
set, and things get more complex

  other(black) == white
  other(white) == black
  other(empty) == empty ???
  other(outside) == ???
  other(empty-but-forbidden-for-black) == ???

- Heikki

-- 
Heikki Levanto  LSD - Levanto Software Development   <heikki@xxxxxxxxxxxxxxxxx>