problems with week 4 exercise 83: Game logic for Hangman

366 views
Skip to first unread message

asusga...@googlemail.com

unread,
Dec 8, 2015, 6:20:53 AM12/8/15
to mooc.fi
Hi,

I'm having problems with week 4 exercise 83: Game logic for Hangman.

*Explain your problem here in English or Finnish*

I am quite fustrated with this exercise. It took me longer than entire week 4. One reason is that I don't see where the input for the guessing is. Therefore after loosing some time trying to figure that out I just made a string named "guessing" containg the letters as input. Everything seems to be running fine, but the check gives me "ComparisonFailure". Could you help?

Thanks in advance,
ovg


Best regards


Supported languages are English and Finnish

Please use our build in TMC Pastebin when asking questions related to your code  
 
TMC Plugin has built-in code sharing feature. 
In NetBeans, select TMC -> Send code to TMC pastebin. Copy the link you receive and paste it to your message.  

You may use our web interface to share code snippets: http://paste.mooc.fi

asusga...@googlemail.com

unread,
Dec 9, 2015, 11:32:30 AM12/9/15
to mooc.fi, asusga...@googlemail.com
I replaced
String guessing = "";
with
String guessing = this.guessedLetters;
Reply all
Reply to author
Forward
0 new messages