quote:
Originally posted by wj
You still have to write your psudeocode.
In function guessinggame:
generate a random number and save it to X
create an empty var named Y to store the guess
While X doesn't equal Y:
Open a popup asking for the new value of Y
Check if it is less than X, and alert the user
Check if it is more than X, and alert the user
Alert the user that they won when the loop breaks
Start function guessinggame