[Computer-go] implementing simple ko

Urban Hafner contact at urbanhafner.com
Thu Mar 12 00:08:57 PDT 2015


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 <rtayek at 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 at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://computer-go.org/pipermail/computer-go/attachments/20150312/22e34868/attachment.html>


More information about the Computer-go mailing list