Skip to content

dlustig/Java-Extended-Dodgsons-Doublet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Java-Extended-Dodgsons-Doublet

Java, Node Tree, Breadth First Search

This is a fairly simple program written to show a proficieny in several programming techniques. The basic idea behind Dodgson's Doublet is that two words of the same length can be connected with a series of 'adjacent to' words. For example: hate → love: hate, have, hove, love.

If you change one letter off the original word, and the new word is valid, then the two are adjacent. Hate → Have. 'Have' then becomes the original word, and the same technique is applied. The extension onto this idea is simple; my program incorporates words of different lengths. For example: flour → flower: flour, lour, dour, doer, dower, lower, flower

Instructions:

  1. Have jave installed upon your machine
  2. Download the .java and .txt file to the same source folder (eg. Desktop)
  3. Open a terminal and navigate the working directory to the chosen source
  4. enter these commands:

javac dictionaryWalk.java

java dictionaryWalk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages