Search:

Type: Posts; User: GregBrannon

Search: Search took 0.09 seconds.

  1. Thread: Hangman

    by GregBrannon
    Replies
    4
    Views
    964

    Re: Hangman

    So you do something like:
    do
    {
    while ( puzzleNotSolved )
    {
    // the user plays a game of hangman
    }

    // ask the user if another game is desired
  2. Thread: Hangman

    by GregBrannon
    Replies
    4
    Views
    964

    Re: Hangman

    Yes, StringBuilder.indexOf() expects a String argument. You can use that method as it requires, or you could use a String method that might be more to your liking after changing the StringBuilder...
Results 1 to 2 of 2