RE: Web Geek Contest - W/ Prize
function guessinggame() {
var seed = Math.random() * 9
var rand = Math.floor(1 + seed);
var gues
while (gues != rand) {
gues = prompt("Guess the number and you'll get a cookie!!")
if (gues < rand) { alert(gues+" is too low.") }
else if (gues > rand) { alert(gues+" is too high.") }
}
alert("Amazing, you got it right.")
}
guessinggame()
This post was edited on 12-01-2005 at 11:11 PM by ShawnZ.
Spoiler: the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
|