/wordsearch.rb

A simple wordsearch generator

Primary LanguageRuby

A simple word search generator

# ws = WordSearch.new(%w{one two three four five six seven eight nine ten})
# ws.generate(8,8)
# ws.to_strings

S E S E I G H T
E N W I T F T U
V I R N E I H O
E N R N N V R H
N E S I X E E S
T W O E X I E S
T F O U R F E E
V G O N E G W W