Search:

Type: Posts; User: pbrockway2

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Hangman Program Java: Comparing the User's Guess with Another String Letter by Letter

    You're welcome. I'm glad you got it sorted out.

    Did you System.out.println(words.flags)? That would be my response to the null pointer exception.

    ---

    Ignore this if you are happy with the...
  2. [SOLVED] Re: Hangman Program Java: Comparing the User's Guess with Another String Letter by Letter

    Hi theonlydvr, welcome to the forums!





    Arrays.asList(word.letters.toCharArray()).contains(guess)


    Assuming that word.letters is a String, it seems to me that this expression will never...
Results 1 to 2 of 2