Word search: Difference between revisions
Content added Content deleted
Line 1,399: | Line 1,399: | ||
println("\n 0 1 2 3 4 5 6 7 8 9") |
println("\n 0 1 2 3 4 5 6 7 8 9") |
||
for r in 1:nrows |
for r in 1:nrows |
||
print("\n |
print("\n", rpad(r, 4)) |
||
for c in 1:ncols |
for c in 1:ncols |
||
print(" $(grid.cells[r, c]) ") |
print(" $(grid.cells[r, c]) ") |
||
Line 1,412: | Line 1,412: | ||
printresult(wordmatrix("words.txt", false)) |
printresult(wordmatrix("words.txt", false)) |
||
</lang>{{output}}<pre> |
</lang>{{output}}<pre> |
||
Attempts: |
Attempts: 1 |
||
Number of words: 25 |
Number of words: 25 |
||
0 1 2 3 4 5 6 7 8 9 |
0 1 2 3 4 5 6 7 8 9 |
||
1 |
1 s l i a r t R r r r |
||
2 |
2 n o i t c u a O e e |
||
3 |
3 h s u t S f a o l d |
||
4 |
4 e r y u k s E a w n |
||
5 |
5 l d T c w d r y o a |
||
6 |
6 l T i h b g w b h l |
||
7 A |
7 A s a d e p o m w i |
||
8 t |
8 C t w s r r n o O h |
||
9 |
9 s e s a e l p D t p |
||
10 |
10 t e i d t E b o d e |
||
moped [7, 8] to [7, 4] philander [9, 10] to [1, 10] |
|||
largesse [3, 9] to [10, 2] yuks [4, 3] to [4, 6] |
|||
auction [2, 7] to [2, 1] howler [6, 9] to [1, 9] |
|||
beret [6, 5] to [10, 5] whats [5, 5] to [9, 1] |
|||
trails [1, 6] to [1, 1] bode [10, 7] to [10, 10] |
|||
tush [3, 4] to [3, 1] please [9, 7] to [9, 2] |
|||
loaf [3, 9] to [3, 6] bored [6, 8] to [10, 4] |
|||
hell [3, 1] to [6, 1] sick [7, 2] to [4, 5] |
|||
now [8, 7] to [6, 7] dry [5, 6] to [5, 8] |
|||
swat [7, 2] to [10, 5] diet [10, 4] to [10, 1] |
|||
too [9, 9] to [7, 7] owl [8, 8] to [6, 10] |
|||
did [7, 4] to [5, 2] rut [4, 2] to [2, 4] |
|||
far [3, 6] to [1, 8] |
|||
</pre> |
</pre> |
||