The Code So Far/Eyes

Sub-page of TheCodeSoFar

Eyes had to come up eventually, and they do in problem #41:

[Diagram]

Black to save the marked stones


Sure enough, my solver commits suicide on this problem by filling in its own eyes. I thought this was going to be a tough problem to fix, but it turned out the Unified Handwaving Theory already had a solution: allow players to pass and consider a line solved if both players pass. This is too cool! The code has no concept of eyes, two eyes = life, etc. I'm happy - eye space has always been a slightly bogus concept in my mind.

Five lines of code later:

[Diagram]

1-41: Solution


It shoots, it scores:

[Diagram]

Black to save the marked stones

[Diagram]

1-43: Solution


See also the pages in the Eyes Collection.


This is a copy of the living page "The Code So Far/Eyes" at Sensei's Library.
(OC) 2004 the Authors, published under the OpenContent License V1.0.
[Welcome to Sensei's Library!]
StartingPoints
ReferenceSection
About