47
5
Pick your favorite 6 letter common English word that has no repeated letters, such as wombat
.
Write a program in an N×N grid of characters without comments such that each row and column contains all the letters of your word in lowercase in any order. The program must output a definition of your word in 36 characters or more.
Rules
- Output to stdout. There is no input.
- Your word must be on Dictionary.com and only contain a-z. No proper nouns, no acronyms, no abbreviations, no contractions.
- Your program and output may only contain printable ASCII characters (hex codes 20 to 7E). (This isn't counting the necessary newlines in the program grid.)
- Comments are anything that the compiler or interpreter traditionally ignores. You may use code that does not contribute to the output or doesn't officially get executed.
- The output definition should be grammatical and accurate, but certainly may be funny or clever.
- Any row or column that at least contains your word`s 6 unique letters in lowercase is valid. Diagonals do not matter.
Scoring
This is code golf but since all submissions must be in the same square format you can simply specify your score with N. The lowest N wins, and of course an N below 6 is impossible. In case of ties, the highest voted answer wins.
Example
If your word was wombat
your program might look like this (N = 7):
wombatD
ombatEw
mbatFwo
bat(wom
atWwomb
tBwomba
)wombat
Notice that every row and every column has the characters w
o
m
b
a
t
.
The output might be: (40 chararacters)
Cute short-legged Australian marsupials.
OK, you have to create a grid using a 6 letter word, but then I do not understand the output: "Cute short-legged Australian marsupials.". – CousinCocaine – 2014-07-30T07:59:23.167
@CousinCocaine That's a description of a wombat. You should output a grammatical and accurate description of the word you choose. – ProgramFOX – 2014-07-30T08:01:55.520
As this is code golf, who decides whats right? "Cute short-legged Australian marsupials" or "short-legged marsupials"? – CousinCocaine – 2014-07-30T08:03:34.870
Right. The example grid is not of course a real program, just a theoretical one that somehow encodes the description while meeting the other constraints. I imagine N will have be much larger than 7. – Calvin's Hobbies – 2014-07-30T08:04:14.277
@CousinCocaine The output can be any decent definition of your word. But it must be at least 36 characters (see spec). – Calvin's Hobbies – 2014-07-30T08:05:12.163
Is it OK if a letter of your word is in uppercase in your program? – ProgramFOX – 2014-07-30T08:05:13.363
@ProgramFOX Sure, as long as all the lowercase letters are in there too.
wombatW
orWOMBATbatwom
would be fine for the first row but notwombaT
. – Calvin's Hobbies – 2014-07-30T08:08:37.303@MartinBüttner Space counts as printable ASCII. Wont that suffice? – Calvin's Hobbies – 2014-07-30T08:26:16.770
@Calvin'sHobbies never mind, I didn't check the link and figured all whitespace was excluded because you specifically allowed newlines. – Martin Ender – 2014-07-30T08:30:21.207
5Idea: Have the word be "
golfed
", and the definition"a description of this program's code"
(for anyone who can figure out how to do this!). – Doorknob – 2014-07-30T09:17:06.7406damn, i don't have favorite 6 character long word – user902383 – 2014-07-30T13:24:01.147
I really want to make one using the word
square
, but I don't have the skills :(. – TMH – 2014-08-01T13:38:05.017@TomHart I gave that a go
– Martin Ender – 2014-08-02T19:32:52.987