help with action script number guessing game
The constructor is coded to assign a random number for
the user to guess
• In the section of code indicated by the comments
(within the handler function doGuess()), write condition
statements that guide the user to guessing the number
using text written to the output
• Trace out the users' guess, plus a message
• Messages for the user depending how close they are from the
guess, condition each of the following:
• Guesses correctly, +/-1 from the guess, +/-10 from the guess,
+/-20 from the guess, +/-40 from the guess, all other guesses