Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Can you guys try this out for me?

Author
Message
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 28th Aug 2007 08:06
Its late and its one of the first times in a while I've sat down and read a tutorial...currently have been following TDK's Tutorials which are very well done and I'm learning a lot. Well..long story short I am adding to his number guessing game he posts at the end of chapter 1 in his tuts, and I would like you guys to just try out what I have so far, its not a whole lot trust me..but I guess I value your opinions quite a lot. I intend to add a lot to this and try and take it beyond just a guessing game..so um..yea thanks guys.

Zombie

hehehe almost forgot the code haha.



tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 28th Aug 2007 10:54 Edited at: 28th Aug 2007 10:57
Well, it crashed for me after I got it correct, and I do wonder why it shout "Teh Asweomezz!!" every time I guess too low. I remember that when I did such a game back in the beginning it was a



Which makes the code a lot easier to understand, you could do it like this as well, of course:



But that's what I did back in the days I still programmed for my calculator . Quite good work, shame of the freeze after guessing correctly. Did you test it yourself? The ASWEOMEZZ-on-too-low-error, as I call it, is hard to miss...

Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 28th Aug 2007 11:39
ya! I found it right after posting it..its a little aggravating haha. Well what can ya do? I'll just keep working with it, thanks for trying it rami.

NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 28th Aug 2007 12:58
I don't think you need the suspend for key in either snippet. Input does pretty much the same thing.


Since the other one was scaring you guys so much...
tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 28th Aug 2007 18:15
Mwah, just an example, plus I like a clean screen at Input, so I cls at the end of the code. Input wouldn't do the same, would it?

Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 29th Aug 2007 12:50
well because in the middle of the wee hours in the morning..I become even more moronic I made another program..its actually a test for a game I'd like to attempt. I'm sure you've all heard of warioware right? Well I'm not even attempting to compete with that level of interactivity because I just know I'm not that good, but I do enjoy simulating the simple task of pressing a button to get something cool..so who knows maybe it will devlop like I hope.

Anyways..here's the code that was whipped up in two minutes..yay I'm so proud of my little program ^_^.



Zombie

Login to post a reply

Server time is: 2024-11-19 05:38:18
Your offset time is: 2024-11-19 05:38:18