You only need to keep track of one point. If the last move was a single stone capture, then that point is the Ko point for the next move. A play by the opponent on that point is disallowed unless it's a capturing move.
Urban On Thu, Mar 12, 2015 at 6:07 AM, Ray Tayek <rta...@ca.rr.com> wrote: > i need to implement a simple ko rule. > > looks like you need to keep track of 2 points for each ko and who took it > last. so it looks like a list of (point,point,who) that can change each > turn? > > any pointers will be appreciated. > > thanks > > -- > Honesty is a very expensive gift. So, don't expect it from cheap people - > Warren Buffet > http://tayek.com/ > > _______________________________________________ > Computer-go mailing list > Computer-go@computer-go.org > http://computer-go.org/mailman/listinfo/computer-go -- Blog: http://bettong.net/ Twitter: https://twitter.com/ujh Homepage: http://www.urbanhafner.com/
_______________________________________________ Computer-go mailing list Computer-go@computer-go.org http://computer-go.org/mailman/listinfo/computer-go