On Thu, Feb 9, 2012 at 8:53 PM, Ray Tayek <[email protected]> wrote:
>> http://www.cwi.nl/~tromp/java/go/GoGame.java
>> has some straightforward Zobrist code.
>
> can you please explain what the expression 4+color is doing in there? (in
> find/set onwer and count score).

4+EMPTY is an empty point that's already been visited by findowner.
4+BLACK/4+WHITE are stones that have already been counted by countScore.

So, 4 is a flag for "been there, done that".

regards,
-John
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

Reply via email to