----------------------------------- Reading words.dat... Done constructing the graph.... Enter the first five-letter word for the Ladders game (0 to quit): abode Enter the second five-letter word for the Ladders game (0 to quit): house Shortest path: abode anode anole anile anise arise prise poise noise noose moose mouse house ----------------------------------- Reading words.dat... Done constructing the graph.... Enter the first five-letter word for the Ladders game (0 to quit): quick Enter the second five-letter word for the Ladders game (0 to quit): sweet Shortest path: quick quirk quire quite suite suits shits shies shier sheer sheet sweet ----------------------------------- Reading words.dat... Done constructing the graph.... Enter the first five-letter word for the Ladders game (0 to quit): stale Enter the second five-letter word for the Ladders game (0 to quit): fresh Shortest path: stale stalk stack slack flack flask flash flesh fresh ----------------------------------- Reading words.dat... Done constructing the graph.... Enter the first five-letter word for the Ladders game (0 to quit): aargh Enter the second five-letter word for the Ladders game (0 to quit): house There is no path between aargh and house -----------------------------------