Search:

Type: Posts; User: JavaN3wbie

Search: Search took 0.19 seconds.

  1. Replies
    15
    Views
    209

    Re: Hangman multiple letters

    okay i can't do it. i've been at it the entire day and i still can't figure out how to put everything together
    oh well, thanks for helping
  2. Replies
    15
    Views
    209

    Re: Hangman multiple letters

    um sorry to sound stupid but what's a column?
  3. Replies
    15
    Views
    209

    Re: Hangman multiple letters

    but how do i put that into my if-else statement? and can i loop it or do i have to make a different int for every time?

    and I'm using string, not char. i don't know how to use char yet ;(
  4. Replies
    15
    Views
    209

    Re: Hangman multiple letters

    i've tried every loop method and none seem to work
    i did the do-while loop and for loop with int i and i += i; but the multiple letters didn't come out.
  5. Replies
    15
    Views
    209

    Re: Hangman multiple letters

    sorry i'm still stuck on what to do. can you give me an example?
  6. Replies
    15
    Views
    209

    Re: Hangman multiple letters

    Sorry, I'm kind of confused.
    Is it something like this:?
    for (int i = 0; i <= secretWord.length(); i++){
    if (secretWord.indexOf(letterGuess,i)....

    cause I tried that and it didn't work.
  7. Replies
    15
    Views
    209

    Hangman multiple letters

    Hi everyone,
    I've been struggling on a hangman game the past few hours and I got almost everything down except the multiple letters part.
    Like if the word is "camera" but whenever the user inputs...
Results 1 to 7 of 7