Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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