Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.39 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.39 KB

Wordcross

The script in this directory creates wordcross diagrams: rectangles containing a set of words that are all rookwise connected to each other but aren't adjacent to each other unless they cross.

One example of a wordcross puzzle is the "Presidential Rectangle", explored by a series of articles over a few decades in Word Ways:

This directory has a file numbers.txt with the numbers ZERO through TEN. You can generate all 8-by-8 wordcrosses containing these numbers by running create-wordcross.sh numbers.txt 8 8, which should generate rectangles like:

...F..F.
ZERO.SIX
.I.U..V.
.G.R.TEN
.H...H.I
.TWO.R.N
...N.E.E
..SEVEN.

..FIVE..
TWO..I..
..U..G..
ZERO.H..
...N.TEN
SEVEN..I
I......N
X..THREE

Unfortunately, the presidential rectangle is a bit too challenging for the solvers in this repo for any recent list of presidents.