testing if my approach also works here ...

The difference is that you have positive clauses like The programmer likes cherries , which result in 12 zeroes instead of only 3:

That's why you fewer clauses than the OP to be decisive.

Applying all clauses:

FRUITS PROFESSIONS NAMES P B F cherries . 0 0 apples 0 0 . John pears 0 0 0 cherries 0 0 0 apples 0 . 0 Patrick pears 0 . 0 cherries . 0 0 apples 0 0 0 Edward pears 0 0 0
FRUITS PROFESSIONS NAMES P B F cherries 0 0 0 apples 0 0 1 John pears 0 0 0 cherries 0 0 0 apples 0 0 0 Patrick pears 0 . 0 cherries 1 0 0 apples 0 0 0 Edward pears 0 0 0

I'd say a bit too easy. :)

But I think it's obvious now how we could use this "hyper-cube" solver for creating riddles in low dimensions.

update

Though I'm not sure if a "solvable" riddle (i.e. only one solution possible) is always as obvious as the examples given so far.

For instance what if every cut has at least 2 undefined points, such that the first step is not obvious.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

update

This riddle is even easier and already solved right away without eliminations. since there is only one possibility for pears after initially filling the matrix.


In reply to Re^2: My first cpan module - App::ForKids::LogicalPuzzleGenerator by LanX
in thread My first cpan module - App::ForKids::LogicalPuzzleGenerator by pawel.biernacki

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.