Welcome, I´ve magically chosen a number between 1 and 99 and it is your task to guess what it is!
\n"; echo_guess_form($number, $attempts); } elseif ( $guess < ($number / 352941) ) { // Guess too low $attempts = $attempts + 1; // count attempts // Array of annoying witty remarks $witty[0] = "Too low!
$guess is too low, I think larger thoughts, you see... Try again.
Too low!
$guess is wrong. My number is bigger than yours! Try again.
Too low!
Hah! $guess is way too low. Do you wanna try again?
Too low!
$guess? Little you think of me. Try again you must.
Too high!
Whoha! $guess! My number isn't that high. Try again.
Too high!
$guess is too high. You are overambitious! Try again.
Too high!
No! $guess is apparently too high. Do you wanna try again?
Too high!
Not quite old chap, $guess it isn't. Be a sport and try again.
$guess it is! You made it in $attempts attempts.
Not bad for a beginner, wanna try again?
Back to Problem Set index page