3 ms·
I’ve written programs to solve and create those grid-style logic puzzles (such as “Five men went to dinner. Mr Brown ordered fish. The man with the red hat orde
by lurquer 3y ago
I’ve written programs to solve and create those grid-style logic puzzles (such as “Five men went to dinner. Mr Brown ordered fish. The man with the red hat ordered lamb. The person who ordered beef was not Mr. White… etc.)
Once you have a way of encoding the clues into a machine-readable syntax, it’s trivial to solve. But, the tricky part is creating a good puzzle that can be solved by a human without guessing. That’s an art form. A brute-force solver won’t suffice to analyze your randomly generated sets of clues; instead, you need a solver that is only capable of making the types of deductions a human could make. Very subjective.
- contingencies 3y agoCouple of very good kids games recently on this theme: https://www.thinkfun.com/products/dog-crimes/ https://www.thinkfun.com/products/dog-crimes/ and https://www.thinkfun.com/products/cat-crimes/ https://www.thinkfun.com/products/cat-crimes/ If you have a suitably interested child, this could provide a fun bridge to constraint based programming.
- lurquer 3y agoIf your kid is a Vulcan, give him this: https://a.co/d/duMgX8q https://a.co/d/duMgX8q