public class WordMatchRunner {

	public static void main(String args[])
	{
		WordMatch match = new WordMatch("mississippi");
		System.out.println("For the word \"mississippi\": ");
		System.out.println("Score with guess as \"i\" is: "+ match.scoreGuess("i"));
		System.out.println("Score with guess as \"iss\" is: "+match.scoreGuess("iss"));
		System.out.println("Score with guess as \"issipp\" is: "+match.scoreGuess("issipp"));
		System.out.println("Score with guess as \"mississippi\" is: "+match.scoreGuess("mississippi"));
		System.out.println("--------------------------------------------------");
		
		match = new WordMatch("aaaabb");
		System.out.println("For the word \"aaaabb\": ");
		System.out.println("Score with guess as \"a\" is: "+ match.scoreGuess("a"));
		System.out.println("Score with guess as \"aa\" is: "+match.scoreGuess("aa"));
		System.out.println("Score with guess as \"aaa\" is: "+match.scoreGuess("aaa"));
		System.out.println("Score with guess as \"aabb\" is: "+match.scoreGuess("aabb"));
		System.out.println("Score with guess as \"c\" is: "+match.scoreGuess("c"));
		System.out.println("--------------------------------------------------");
		
		match = new WordMatch("concatenation");
		System.out.println("For the word \"concatenation\": ");
		System.out.println("Score with guess as \"ten\" is: "+ match.scoreGuess("ten"));
		System.out.println("Score with guess as \"nation\" is: "+match.scoreGuess("nation"));
		System.out.println("Better guess is: "+match.findBetterGuess("ten", "nation"));
		System.out.println("--------------------------------------------------");
		
		System.out.println("Score with guess as \"con\" is: "+ match.scoreGuess("con"));
		System.out.println("Score with guess as \"cat\" is: "+match.scoreGuess("cat"));
		System.out.println("Better guess is: "+match.findBetterGuess("con", "cat"));
	}
}
