Search:

Type: Posts; User: lotusmind

Search: Search took 0.33 seconds.

  1. Re: Method error for checking and updating guess in a basic hangman game

    Okay, thank you for all your help - I appreciate it. Have a good night.

    --- Update ---

    Updating with new progress - thanks for the tips Norm! I'm nearly done now. Here is what I came up with...
  2. Re: Method error for checking and updating guess in a basic hangman game

    something in the realm of.... newString = firstString.substring(0,1) + 'x' + firstString.substring(3)
    So in my program, disguisedWord is all question marks. The index of a correct guess is int...
  3. Re: Method error for checking and updating guess in a basic hangman game

    Hmmm, I see. I will spend time trying this on my own to hopefully better grasp the logic and application. Thank you for your help thus far.
  4. Re: Method error for checking and updating guess in a basic hangman game

    Ok thank you I will check out the doc - unfortunately for the purposes of this program I cannot use the StringBuilder class.
  5. Re: Method error for checking and updating guess in a basic hangman game

    (I accidentally made the println debug test for disguisedWord return the secretWord, I went back and changed it so it returns 11 questions marks)The value of disguisedWord is 11 questions marks...
  6. Re: Method error for checking and updating guess in a basic hangman game

    Thank you for the advice, I will try this debugging approach and hopefully I'll figure out the logic errors!

    --- Update ---

    The debugging helped me identify what's working and what's not...
  7. Method error for checking and updating guess in a basic hangman game

    Hello and thank you for reading. I will try my best to explain what I have done so far and my current thought process about solving this problem. I have to make a hangman-based, text game where a...
Results 1 to 7 of 8