I'm happy with Many Faces' solution, but it is not quite perfect.  I just
add a point for every pass made during the playouts.

        score = komi + b->stones[1] + b->terr[1] - b->stones[0] -
b->terr[0];
        if (rules == JAPANESE)
                score += b->passcount[1] - b->passcount[0];
        if (handicap && rules != GOE) {
                score += handicap;      /* white compensation for the
handicaps */
        }

David

> -----Original Message-----
> From: [email protected] [mailto:computer-go-
> [email protected]] On Behalf Of Martin Mueller
> Sent: Thursday, February 21, 2013 8:19 PM
> To: [email protected]
> Subject: [Computer-go] Supporting Japanese rules
> 
> I want to support Japanese rules in Fuego for UEC cup (and for human
> opponents who prefer these rules). I looked at test cases and previous
> discussions on the list. My summary so far is on
> http://sourceforge.net/apps/trac/fuego/wiki/JapaneseRules
> 
> I did not find any discussions younger than 2009. I also did not find a
> complete solution. Do people consider this a solved problem?
> 
>       Martin
> 
> _______________________________________________
> Computer-go mailing list
> [email protected]
> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

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

Reply via email to