Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Objects (Retired) Delivering the MVP Validation

Such Spam Much Wow

Here is the error that I received: ./Game.java:18: error: cannot find symbol
if (mMissed.indexOf(letter) >= 0 || mHits.indexOf(letter) >= 0) {
^
symbol: variable mMissed
location: class Game
./Prompter.java:23: error: cannot find symbol
String guessAsString = console.readLine("Enter a letter: ");
^
symbol: variable console
location: class Prompter
./Prompter.java:27: error: cannot find symbol
isvalidGuess = true;
^
symbol: variable isvalidGuess
location: class Prompter
./Prompter.java:29: error: cannot find symbol
System.out.println("Please try again \n", iae.getMessage);
^
symbol: variable getMessage
location: variable iae of type IllegalArgumentException
./Prompter.java:37: error: cannot find symbol
return mGame.applyGuess(guess);
^
symbol: variable guess
location: class Prompter
5 errors

Ken Alger
Ken Alger
Treehouse Teacher

Thomas;

Welcome to Treehouse!

Thanks for posting your errors, that's great! However, without seeing the associated code it is challenging to provide definitive answers. Would you mind posting the code you are using?

Thanks,
Ken