Article View: sci.electronics.design
Article #1057Re: Puzzles
From: Don Y
Date: Wed, 11 Nov 2026 21:31
Date: Wed, 11 Nov 2026 21:31
45 lines
3501 bytes
3501 bytes
On 11/10/2026 3:02 AM, Martin Brown wrote: >> So, are the published puzzles (e.g., NYT) created by machine? Or, is someone >> buzy with quadrille pads each week trying to get the puzzle ready for NEXT week? > > Most decent crosswords in the broadsheets have particular named human setters > (using a pseudonym) that come with their own quirky style of clues. I expect > they are born pattern matchers with a huge vocabulary. Yeah, I looked at what would be required of an algorithm. Fitting "words" (letter sequences) to templates where some number of existing letter positions may have been defined is relatively easy (though computationally expensive, depending on size of glossary, "clues", etc.) But, what is missing it the "given clue" side; I can fit words but can't necessarily ensure that their clues (even if I *had* them) would fit a particular theme, etc. (e.g., baseball seems to be a common theme!) > The interlocking word pattern is machine solvable. Likewise you can index all > possible anagrams of a word or phrase into other words. It is relatively straightforward -- but, you have to exploit the fact that the "word list" is const else the computational/storage requirments explode! (my first approach passed a list of candidate words to each "clue fitting iteration" much like one would do in LISP; this consumed memory at a prodigious rate!) A more economical approach is to use a bit (bool) array to indicate the candidate words to be examined in a given iteration. So, you pass a bit per word per clue instead of the entire list of eligible words) > I expect that today they do have some computer assistance to find words that > fit. When I was at school you had to do it by brute force. I suspect it is a matter of scale. Larger grids give more opportunities. But, also present more constraints. > Indeed it was sometimes a homework exercise in the English class with a given > pattern of blocked out squares. Similar in principle to a magic square. I'll look at the sudoku problem, next, as that seems orders of magnitude simpler. (It would be educational to discover how many *different* sudoku grids exist as it is likely a small number -- sort of like tic-tac-toe/noughts-and-crosses)
Technical Details
Message-ID:
<11d2ms8$3dn7v$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11ctgil$1ll56$1@dont-email.me> <11cuq3b$2196m$2@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Don Y <blockedofcourse@foo.invalid> Newsgroups: sci.electronics.design Subject: Re: Puzzles Date: Wed, 11 Nov 2026 14:31:52 -0700 Organization: A noiseless patient Spider Lines: 45 Message-ID: <11d2ms8$3dn7v$2@dont-email.me> References: <11ctgil$1ll56$1@dont-email.me> <11cuq3b$2196m$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Nov 2026 21:31:52 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3595519"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oBkoIeSHhTN86PUM5kGbD"; posting-host="848637c452ff517bbbfb20de77f5863b" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:72UghkHvOnZcw+3HVyNIP54ywUQ= sha256:80yxoOiUy+lq2j1Q23dWw0JHpgb7F7nJShkHVAfNeik= sha1:/CKce0CObjeXydlUuAQpfC2P3R0= sha256:OsWXPk2xRG68f0VHZmdpohQl/wBvqgk2GSAxl2j3Tsg= Content-Language: en-US In-Reply-To: <11cuq3b$2196m$2@dont-email.me>