ruby-wordfind / 0.2.0
| Short description: | Generate simple WordFind puzzles with Ruby | |||||
|---|---|---|---|---|---|---|
| Category: | Library/Game | |||||
| Status: | beta | |||||
| Created: | 2006-03-05 18:21:34 GMT | |||||
| Last update: | 2006-03-05 18:21:34 GMT | |||||
| Owner: | andrew (Projects of this owner) | |||||
| Homepage: | http://stuff.siaris.net/index.cgi/code/ | |||||
| Download: | http://stuff.siaris.net/code/ruby/wordfind.tar.gz | |||||
| License: | Ruby's | |||||
| Dependency: |
|
|||||
| Description: | WordFindWordFind — library to generate WordFind puzzles Synopsis
require 'wordfind'
words = %w< Ruby Perl Erlang Io Python >
puzzl = WordFind.new(words)
puzzl.add_word('quux')
puzzl.create
print puzzl.to_s
__END__
Words to Find:
--------------
ERLANG IO PERL
PYTHON QUUX RUBY
I F G S U B D Y L I
Q X V I P L K K U J
W A I I T E Y D E T
G A P B M M R G U L
M N O H T Y P L T N
Q D A I F O I G M K
V U C L T R I M K Z
B Z U L R R U B Y L
L O V X C E M R X M
V G C L H C Z F S L
DescriptionSimply provides a class which can be used to generate WordFind type puzzles. Can produce output in plain text, HTML, or LaTeX formats. darcsYou can also grab it from my darcs repository: darcs get http://repos.siaris.net/ruby/wordfind |
|||||