On Mon, Aug 25, 2008 at 7:06 AM, Magnus Persson <[EMAIL PROTECTED]> wrote: > Quoting Jacques Basaldúa <[EMAIL PROTECTED]>: > >> When you detect self atari in the playouts (something I haven't tried >> yet, but >> from recent posts in this group I am convinced that it is an important >> issue) >> a new problem arises: How can you score the board _fast_ at the end? > > Valkyria makes a simple loop that goes through each position on the board. > Remaining stones are always counted as points. Stones in seki are alive and > should be counted as usual so that is not different. The dames created by > sekis have to be detected and differentiated from eyes. It is enough to just > count the black and white stones in the 4 adjacent positions to see if it is > an eye or a dame. There should be no dame that does not have *both* a black > and white adjacent stone.
dimwit keeps track of the stone-count difference between black and white as the game is played. We also have a list of empty points, so we loop through them to count one point per eye. The game doesn't change substantially if you consider that only eyes count as territory, since you can always fill up your own territory until everything left is single eyes. At the end of our playouts there aren't any larger areas of territory anyway. _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/