Better resort to Chat.
Nice!
My sudoku.ijs script seems to be dated around 2005. Evidently it still
works in J902!
NB. copied & pasted the puzzle into a noun direct definition, so
definitely beta-j!
qqq =: {{)n NB. fixed font better
| L | T
|G |
| |N I
-----+-----+-----
|T |R A
G| R|S I N
S | |L
-----+-----+-----
T E| R | L
A | G | R
I L|A |
}}
NB. I looked at the nub of letters and saw 'TRIANGLES' - took a while to
notice the space-fills to
NB. improve the aspect ratio.
NB. I haven't tried to make this pretty!
[a =. ' TRIANGLES'{~sudoku (11$3 1#1 0)#>(' TRIANGLES'i.(17$1
0)#17{.])each LF cut qqq
GNARLIEST
ESIGNTALR
RLTEASNGI
LINTSGREA
ATGLERSIN
SERNIALTG
TGESRNIAL
NASIGLTRE
IRLATEGNS
$a
1 9 9
({."2;{:"1) a
+---------+---------+
|GNARLIEST|TRIANGLES|
+---------+---------+
Clever stuff.
We need this sort of thing for November's Lockdown England.
Unfortunately for USA friends, there are ten unique letters in 'TRUMP'
and 'BIDEN', so
another puzzle is needed for tomorrow, or a 16x16 sudoku with 6 other,
pertinent?,
letters. Best left to the experts....
(Saturday's London Times Listener Crossword No 4631 might amuse.)
Thanks,
Mike
-------- Forwarded Message --------
Subject: Re: [Jprogramming] typical use "beta-j okay"
Date: Mon, 2 Nov 2020 12:03:33 -0500
From: David Lambert <[email protected]>
Reply-To: [email protected]
To: programming <[email protected]>
The puzzle was among a box of puzzle magazines we picked up at a garage
sale.
Yes, each letter stands for a digit. Singletons are numbers less than
10. I had not thought to read it. Had I made the puzzle I'd have used
A-J or a word.
Purposes for writing yesterday's puzzle solution--
Encourage Henry of an active audience trying the latest release.
Practice exposition to enhance my left/right brain connections.
Happy November. In 2009 I wrote a Sudoku solver and puzzle generator
(in python)
print in fixed width font.
Clue: hardest polygons.
| L | T
|G |
| |N I
-----+-----+-----
|T |R A
G| R|S I N
S | |L
-----+-----+-----
T E| R | L
A | G | R
I L|A |
Gratuitous conjunction used in to construct the puzzle as shown,
provided to meet programming forum rules
NB. Substitute in y from n to m
Substitute=: 2 : '(n,y) {~ (m,y) i. y'
>Date: Sun, 1 Nov 2020 19:59:58 +0000
>From: "'Michael Day' via Programming" <[email protected]>
>To: [email protected]
>Subject: Re: [Jprogramming] typical use "beta-j okay"
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=utf-8; format=flowed
>
>Thanks, David
>
>Why these singletons and pairs of letters?
>It looks as if some permutation of the 4x4 square of letter groups might
>form words across and down. Then again, perhaps not, given pv and nx
>and that there are only 3 solo (semi)vowels!
>
>Mike
>
>On 01/11/2020 17:17, David Lambert wrote:
>> NB. puzzle: substitute the digits 0-9 for the the letters
>> NB. to form a magic square of sum 99
>>
>> NB. (published puzzle hinted that y is 8 should you try it with
>> pen and paper)
>>
>> _4 [\ ;:'ph h ne th na tc he e pn nx y pp a pt pv nc'
>> ┌──┬──┬──┬──┐
>> │ph│h │ne│th│
>> ├──┼──┼──┼──┤
>> │na│tc│he│e │
>> ├──┼──┼──┼──┤
>> │pn│nx│y │pp│
>> ├──┼──┼──┼──┤
>> │a │pt│pv│nc│
>> └──┴──┴──┴──┘
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm