Hangman Logic (Exercise 083.2)

19 views
Skip to first unread message

8bitsno...@gmail.com

unread,
Nov 9, 2017, 3:38:50 PM11/9/17
to mooc.fi
Hi,

I'm having problems with week 4 exercise 083.2  on course Java

I just don't understand how to change from underscores to guessed characters. I believe I'm supposed to test each character index of this.word to see if this.guessedLetters contains it, and then if it does then append that character rather than underscore, I just don't know how to.


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
Reply all
Reply to author
Forward
0 new messages