/wordsudoku

A Sudoku maker that uses letters instead of numbers and spells out words

Primary LanguageHTML

wordsudoku

A Sudoku maker that uses letters instead of numbers and spells out words

To Run

npm install
node main

It will create a file called grid.html, which can be opened with a web browser. Also, I converted it into a pdf, saved to grid.pdf.

The output of this script will also print something like this to the console:

DYBNIEORF
NERDOFBYI
I[FOR]BYNDE
[FRIEND]YBO
[BOYFRIEND]
EDNOYBFIR
YBDI[FOR]EN
RIFY[END]OB
[ONE]BDRIFY


....I.OR.
.E.D.....
.....Y..E
F..E...B.
.O..RI.N.
......F..
Y.D..O.E.
R.......B
ON.B....Y


Best score for BOYFRIEND is 27

[LAY]CRN[TIE]
NTILEYACR
[CERTAINLY]
ICLN[TRY]EA
RYEIL[ACT]N
TNAYCEIRL
ELNAI[TRY]C
YR[TEN]CLAI
AI[CRY]LENT


.A.CR....
...L.....
C..T.IN..
.CL.....A
RY..L....
T.A...IR.
E.......C
YRTE.....
........T


Best score for CERTAINLY is 30

[LAP]TIMNCO
MNTOC[LAP]I
OI[CAN]PLTM
PCN[LOT]MIA
IML[CAN][TOP]
ATOMPICLN
TPINM[COAL]
[COMPLAINT]
NLAI[TOP]MC


L...I....
......A.I
O.C.NP...
..NL...I.
..LCA...P
.T.......
.....CO..
.O.P...NT
....T....


Best score for COMPLAINT is 34

ANUORGSED
[RED]SUANOG
OGSN[DEAR]U
ND[ARGUE]SO
EOGDA[SUN]R
[SURE]NOGDA
[DANGEROUS]
[USE]AODRGN
GROUSNDAE


...O..S.D
R...U....
..S......
N..R.....
.OGD.S..R
.U..N.G..
.AN.E.OU.
..E....G.
.........


Best score for DANGEROUS is 31

ICORYSVDE
VS[DIE][CRY]O
Y[RED]VOCSI
SVIYCDOER
RDCOIEYVS
OEYVSRICD
[DISCOVERY]
[CORE]DYSIV
EYVS[RID]OC


IC.....D.
.S......O
....VO...
.......E.
R..OI.Y..
O.Y.S.I.D
DIS....R.
...E....V
....RI...


Best score for DISCOVERY is 25

ATDNEUOIC
OUNICD[EAT]
[ICE]ATONDU
TEO[DNA]CUI
[DNA]UICTEO
UIC[TOE][AND]
CAIOD[NUT]E
[EDUCATION]
[NOTE]UIDCA


...N.UOI.
....C..A.
..E..O..U
....N.CU.
D....CT..
.I.T.....
CA...N...
.DU....O.
N.....D..


Best score for EDUCATION is 34

NIECRUDTO
TDCINOERU
RUOTDEINC
COU[NET][RID]
[INTRODUCE]
ERDUIC[NOT]
DCROUI[TEN]
U[TIE]C[NOD]R
O[END]TRCUI


.....U...
T..IN.E..
R.O.....C
...N...I.
.N.R..U.E
..D...NO.
.....I...
.......DR
O...T....


Best score for INTRODUCE is 30

KE[GRAIN]MT
RNTGKMEAI
[AIM]NTEGRK
[GRAIN]KMTE
TKNEMG[AIR]
IMETRAKGN
NGK[AIR]TEM
[MARKETING]
ETIMGNRKA


KE.......
.N..KM..I
A.M.....K
.....KM..
T..EM.A..
..E..A.G.
N..A.R..M
.AR.E....
.T..G....


Best score for MARKETING is 28

NRG[PIE]OAT
[OPERATING]
AITG[ONE]PR
TG[PIE]RNOA
E[NOT][GAP]RI
[RAIN][POT]GE
GORET[PAIN]
IEAONGRTP
PTNARIGEO


NR....O..
O..R....G
A.T..N.P.
TG.I.....
......P.I
RA.......
GO...PA.N
.....G.T.
.....I...


Best score for OPERATING is 35

HS[PIE]RULB
EBLUSHIRP
IRUPBL[SHE]
ULIB[PER]SH
SPRH[LIE]BU
BEHSRULPI
[RISE]HPBUL
[PUBLISHER]
L[HER]UBPIS


H...E....
.BL...I..
..U..L...
UL.B..R..
S..H.I...
..HSR.L..
.ISE.P.UL
.........
.......IS


Best score for PUBLISHER is 28

[CUT]OINEDR
INO[RED][CUT]
[REDUCTION]
UORC[NET]ID
ETIDUORNC
NDCI[TRUE]O
[DIE]NRCOTU
TRNEOUDCI
O[CUT]DINRE


C...I....
INO......
...U.T..N
...C..TI.
E..DU....
.D.......
.I......U
...E...C.
O.UT...R.


Best score for REDUCTION is 31

[SOMETHING]
IGHSO[NET]M
ENTMIGSOH
GMNOE[SHIT]
TEON[HIM]GS
[HIS]GMTOEN
NHGI[SET]MO
M[SIT]GONHE
OTEHNMGSI


..M.....G
..H...E..
.N..I..O.
.MN..S..T
.E......S
.I.G.T...
..G...T..
......N.E
O..H.M...


Best score for SOMETHING is 28

[UNIVERSAL]
ERLUA[SIN]V
SVALINEUR
RLENSU[VIA]
ASNILVREU
VIU[ERA]LSN
NUSR[VIA]LE
I[ERA]NLUVS
LAV[SUE]NRI


UN..E....
E....SI..
.V.L.....
...NS.V.A
A....V.E.
....R..SN
...R....E
.E..N....
L...U..R.


Best score for UNIVERSAL is 27

FRLWO[END]U
UEWFDNOLR
D[NOR]ULWEF
[OUR][END]LFW
LWEOR[FUND]
NFDULWERO
RLFNWUDOE
EDUL[FOR]WN
[WONDERFUL]


...W.E...
......O.R
DN......F
.U.E.D.FW
..E.RF.ND
....L..R.
.LF......
.D..F..WN
.........


Best score for WONDERFUL is 28