Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   Number guessing game (http://www.alice.org/community/showthread.php?t=5806)

 SirThorfinn 01-03-2011 07:50 PM

Number guessing game

1 Attachment(s)
I know its simple and easy but i was bored so i made this, Its a simple 0-10 guessing game and easy to cheat on if you know were to look.
Enjoy:D

[ATTACH]4116[/ATTACH]

 SirThorfinn 01-03-2011 08:00 PM

oh and the world says its been open for about an hour but i was using a world that i was messing with before i wrote this script.

 Allieso 01-04-2011 12:48 AM

what i want to say its not simple and easy frankly speaking i don't understand it more detailed please

 SirThorfinn 01-04-2011 09:27 AM

[QUOTE=Allieso;30211]what i want to say its not simple and easy frankly speaking i don't understand it more detailed please[/QUOTE]

What is it you need mw to explain?

 SirThorfinn 01-04-2011 09:31 AM

Wait sorry ignore the comment that says "PLace a .0 after your answer" you shouldnt need to, but if you can't guess the # try it with .0 then

 arty-fishL 01-04-2011 03:22 PM

Its good, but a couple of issues; I got stuck in a recursive loop and couldnt escape until I guessed the number right and you have unlimited guesses.
You should make the range much higher (like 0 to 100) and have a higher or lower thingy, then have only 3 or 5 guesses or something.

 SirThorfinn 01-04-2011 03:45 PM

[QUOTE=arty-fishL;30225]Its good, but a couple of issues; I got stuck in a recursive loop and couldnt escape until I guessed the number right and you have unlimited guesses.
You should make the range much higher (like 0 to 100) and have a higher or lower thingy, then have only 3 or 5 guesses or something.[/QUOTE]

I added a pause of 1 second so the user could exit in between answers and i could added a limit of guesses if you like. 0-100 would be a little big but you can set it by changing the max of 11 to 101

 ryisrippin 02-02-2011 04:35 PM