Guess the Number

Finished games are posted here, once they've been tested and are ready for wide release.
Forum rules
Adult content should not be posted in this forum.
Post Reply
Message
Author
Mhari
Newbie
Posts: 18
Joined: Sat Jun 20, 2009 4:15 pm
Projects: Guess the Number; City of Ladies
Contact:

Guess the Number

#1 Post by Mhari »

Does what it says on the tin. It has however a nice interface, some cute if cribbed-from-the-wiki graphics, and six trophies to unlock, and I freaking finished it, so there's that to recommend it.

Note: it will crash if you don't enter a number at all, but frankly if you're zoning out that much you should probably go outside anyway. ;)

Edit: Updated to disable rollback and fix the prize gallery bug.

Windows
Mac
Linux
Last edited by Mhari on Tue Oct 06, 2009 3:01 pm, edited 1 time in total.

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Guess the Number

#2 Post by Aleema »

Cute. No idea what compelled me to download this, but I wasted a good ten minutes of my life on it. xD
I didn't get any trophies, but I felt kinda good guessing the number on my second try in Hard.

Mhari
Newbie
Posts: 18
Joined: Sat Jun 20, 2009 4:15 pm
Projects: Guess the Number; City of Ladies
Contact:

Re: Guess the Number

#3 Post by Mhari »

I aim to distract. :twisted:

Alex

Re: Guess the Number

#4 Post by Alex »

That was fun..)) Magically I can`t stop untill get all the prizes...))

User avatar
Showsni
Miko-Class Veteran
Posts: 563
Joined: Tue Jul 24, 2007 12:58 pm
Contact:

Re: Guess the Number

#5 Post by Showsni »

You should probably disable rollback to stop people from cheating. (Like me. 6 trophies!)

Also, it looks like the label for the "Easy" and "Hard" streak trophies need swapping over.

Nice game. I think I programmed a similar one into my graphical calculator in a boring stats lesson...

(But then, I programmed a full fledged CYOA game into my calculator. And a not-really-snake-but-similar game.)

Mhari
Newbie
Posts: 18
Joined: Sat Jun 20, 2009 4:15 pm
Projects: Guess the Number; City of Ladies
Contact:

Re: Guess the Number

#6 Post by Mhari »

Huh, I'm having a hard time figuring how rollback would let you cheat. Maybe I'm just not devious enough.

And drats, I thought I fixed that. Will take a look, thanks!

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Guess the Number

#7 Post by Jake »

Mhari wrote:Huh, I'm having a hard time figuring how rollback would let you cheat. Maybe I'm just not devious enough.
Well, what you're supposed to do is:

[Game]: What's my number? (0 guesses)
[You]: 5!
[Game]: Too low! (1 guess)
[You]: 8!
[Game]: Too high! (2 guesses)
[You]: 6!
[Game]: That's it! It took you 3 guesses!

But with rollback, you can:

[Game]: What's my number? (0 guesses)
[You]: 5!
[Game]: Too low! (1 guess)
[You]: *ROLLBACK*
[Game]: What's my number? (0 guesses)
[You]: 8!
[Game]: Too high! (1 guess)
[You]: *ROLLBACK*
[Game]: What's my number? (0 guesses)
[You]: 6!
[Game]: That's it! It took you 1 guess! You are fantastic, have this prize elephant!

Rollback rolls everything back, game variables and all.
Server error: user 'Jake' not found

Mhari
Newbie
Posts: 18
Joined: Sat Jun 20, 2009 4:15 pm
Projects: Guess the Number; City of Ladies
Contact:

Re: Guess the Number

#8 Post by Mhari »

Oh, I see. Seems like it would take almost as much effort as going through a bunch of rounds, though. Anyway, I'll fix that when I go back to sort out the prizes.

Mhari
Newbie
Posts: 18
Joined: Sat Jun 20, 2009 4:15 pm
Projects: Guess the Number; City of Ladies
Contact:

Re: Guess the Number

#9 Post by Mhari »

Fixed.

musical74
Eileen-Class Veteran
Posts: 1021
Joined: Sat Dec 18, 2004 6:13 pm
Location: Oregon
Contact:

Re: Guess the Number

#10 Post by musical74 »

This is a fun little game =) I did run into one problem tho...

I'm sorry, but an exception occured while executing your Ren'Py
script.

ValueError: invalid literal for int() with base 10: ''

While running game code:
- script at line 120 of C:\Program Files\RenPy\renpy-6.9.3\numbers/game/script.rpy
- python at line 120 of C:\Program Files\RenPy\renpy-6.9.3\numbers/game/script.rpy.

-- Full Traceback ------------------------------------------------------------

File "C:\unzipped\guessnum-win32\renpy\bootstrap.py", line 260, in bootstrap
File "C:\unzipped\guessnum-win32\renpy\main.py", line 308, in main
File "C:\unzipped\guessnum-win32\renpy\main.py", line 92, in run
File "C:\unzipped\guessnum-win32\renpy\execution.py", line 230, in run
File "C:\unzipped\guessnum-win32\renpy\ast.py", line 558, in execute
File "C:\unzipped\guessnum-win32\renpy\python.py", line 921, in py_exec_bytecode
File "C:\Program Files\RenPy\renpy-6.9.3\numbers/game/script.rpy", line 120, in <module>
ValueError: invalid literal for int() with base 10: ''

While running game code:
- script at line 120 of C:\Program Files\RenPy\renpy-6.9.3\numbers/game/script.rpy
- python at line 120 of C:\Program Files\RenPy\renpy-6.9.3\numbers/game/script.rpy.

Ren'Py Version: Ren'Py 6.9.3c

I have no idea what this means...I was running the game a little fast, (ie wrong number, try again) but that shouldn't have caused the crash. Was I just being too fast, or was this something else altogether?

OUTSIDE of that, it's fun - and definitely something to play with after studying!
A friend is one that walks in when the world walks out.

Mhari
Newbie
Posts: 18
Joined: Sat Jun 20, 2009 4:15 pm
Projects: Guess the Number; City of Ladies
Contact:

Re: Guess the Number

#11 Post by Mhari »

Mhari wrote:Note: it will crash if you don't enter a number at all,

Post Reply

Who is online

Users browsing this forum: No registered users