Such a property does not exist in the current standard, but do you really need it?
If you know the player to move, handicap, and difference in number of passes you can infer the difference in prisoners from the board position. It also works the other way around (i.e., you can infer the difference in number of passes). When setting up the position maybe you can simply add an appropriate number of passes to get the territory score right? Normally passes only happen at the end, so typically I guess it's just a matter of figuring out who passed first. Of course you still need the user to tell your app the prisoner difference, player to move and handicap. Erik On Sun, Sep 8, 2013 at 10:09 AM, Rémi Coulom <[email protected]> wrote: > Hi, > > I wonder if it is possible to indicate the number of prisoners when setting > up a position in SGF. I would need it for my image-capture app. The > difference in the number of prisoners is important in Japanese rules. It is > possible to guess its value by assuming that both players passed the same > number of times (when handicap and color to move are known). But if one > player passed more, then there is no way to guess it. > > I will probably ignore this issue and assume balanced passing when scoring > japanese games. It should work well in most situations, but I don't like > having to rely on this assumption. > > Rémi > _______________________________________________ > 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
