@@ -0,0 +1,917 @@
+import java.util.Scanner;%0A%0Apublic class Prompter%0A%7B%0A%0A%09private Game game;%0A%0A%09public Prompter(Game game)%0A%09%7B%0A%09%09this.game = game;%0A%09%7D%0A%0A%09public boolean promptForGuess()%0A%09%7B%0A%09%09Scanner scanner = new Scanner(System.in);%0A%09%09boolean isHit = false;%0A%09%09boolean isAcceptable = false;%0A%0A%09%09do  %7B%0A%09%09%09System.out.print(%22Enter a letter: %22);%0A%09%09%09String guessInput = scanner.nextLine();%0A%09%09%09try%7B%0A%09%09%09%09isHit = game.applyGuess(guessInput);%0A%09%09%09%09isAcceptable = true;%0A%09%09%09%7D catch(IllegalArgumentException iae) %7B%0A%09%09%09%09System.out.println(iae.getMessage());%0A%09%09%09%7D%0A%09%09%7D while (!isAcceptable);%0A%09%09return isHit;%0A%0A%09%7D%0A%0A%09public void displayProgress()%0A%09%7B%0A%09%09System.out.printf(%22You have %25d tries left to solve: %25s%25n%22, game.getRemainingTries(), game.getCurrentProgress());%0A%09%7D%0A%0A%09public void displayOutCome()%0A%09%7B%0A%09%09if (game.isWon()) %7B%0A%09%09%09System.out.println(%22Awesome, You Won!%22);%0A%09%09%7D %0A%09%09else %7B%0A%09%09%09System.out.printf(%22Bummer! The word was %25s.%25n%22, game.getAnswer());%0A%09%09%7D%0A%09%7D%0A%0A%0A%7D%0A

Create Prompter.java