[Computer-go] implementing simple ko
uurtamo .
uurtamo at gmail.com
Mon Mar 16 18:45:25 PDT 2015
You can have multiple kos on the board. Two is the most usual case that
doesn't trigger other rules. Easiest (logically, not practically, perhaps)
is to never repeat a board position ever (so called superko, I think),
which could be implemented as a full-board-position hash.
s.
On Mar 11, 2015 10:08 PM, "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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://computer-go.org/pipermail/computer-go/attachments/20150316/8b9a8b13/attachment.html>
More information about the Computer-go
mailing list