Word Chains

Word Chains is a program that, when given a starting word and a target word with equal lengths, will find a path of words between the two where the letters only change by one.

$ ruby word_chains.rb duck ruby
Loading dictionary...
Building chain...
duck
dunk
dune
dude
nude
rude
rube
ruby