[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: computer-go: Empty board spaces management
In my program, I found it useful to manage six types of regions
in the same manner as groups of stones.
black stones
white+empty stones (black eyes)
white stones
black+empty stones (white eyes)
empty stones
black+white stones (occupied space)
I apply the same types of operations to all different types of regions,
in a more or less symmetric way; for example,
given a black group get the adjacent white+empty groups
given a white+empty group, get the contained white groups
given a white+empty group, get the adjacent black groups
etc.