3
u/sfmqur Jul 06 '15
Can you post the whole class? It would make it easier to find errors.
2
u/Pvt_Haggard_610 Jul 06 '15
Any errors?
1
Jul 06 '15
I'm going to get back to you guys tomorrow when I have more time. I'll explain it all much clearer. Thank you so much for your time.
2
u/BadBoy6767 Jul 06 '15
Yes, a full class or the full project would be very helpful. Any errors, too?
1
u/AkrioX Jul 09 '15
If I read the code correctly this is like a hangman game, you should assign a new value for the x in the loop like
x = "" + this.word.charAt(i++);
If you don't progress with the x, your program will only check the first letter obviously.
3
u/CSResumeReviewPlease Jul 06 '15
What isn't it doing correctly?