Word search: Difference between revisions
m
"give up" no longer required when overlaps allowed.
m (removed overlap checks) |
m ("give up" no longer required when overlaps allowed.) |
||
Line 589:
=={{header|Phix}}==
<lang Phix>--
-- demo\rosetta\wordsearch.exw
Line 597 ⟶ 595:
string message = "ROSETTACODE"
sequence words, solution="", placed
constant grid = split("""
Line 656 ⟶ 652:
end if
end if
end for
end if
Line 686 ⟶ 681:
printf(1,"%d words loaded\n",length(words))
▲ wordsearch(grid,25,100,{{},{}})
for x=2 to 11 do
for y=4 to 31 by 3 do
Line 710 ⟶ 700:
<pre>
24820 words loaded
0 1 2 3 4 5 6 7 8 9
0 l o v e s d R p u n
|