Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    He already did.

    This is an assignment statement:

    again = true

    This is a comparison statement:

    again == true
  2. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    I understand exactly what you meant.

    The process will be the same. You'll have to use a loop to repeat the process. Putting your existing code in a method named doOneGame() might help.
  3. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    You already know how to loop until you win.

    Why don't you do the same thing to loop until you quit?

    Hint: It might help if you put your current code inside a function called doOneGame().
Results 1 to 3 of 3