Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 EXTREME GUESSING GAME!!!!!!(The Largest Guessing Game Ever!)
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
[Gandalf]




PostPosted: Wed Oct 05, 2005 10:32 pm   Post subject: (No subject)

http://img385.imageshack.us/img385/3065/win2zs.jpg

Guess I win Smile.
Sponsor
Sponsor
Sponsor
sponsor
md




PostPosted: Wed Oct 05, 2005 10:37 pm   Post subject: (No subject)

I would do that if I could re-write it in C or C++ or pascal (for which I have compilers), and if it told you if you were too high or two low. But that would make it rather trivial Razz
beard0




PostPosted: Thu Oct 06, 2005 7:02 am   Post subject: (No subject)

[Gandalf] wrote:
http://img385.imageshack.us/img385/3065/win2zs.jpg

Guess I win Smile.

If you're going to edit it, try to make it more realistic: There is no "pause" or "stop" button once execution has finished! Wink
[Gandalf]




PostPosted: Thu Oct 06, 2005 3:01 pm   Post subject: (No subject)

*cough*better?*cough*
http://img305.imageshack.us/img305/2558/win6ku.jpg

Now I won... Shifty
beard0




PostPosted: Thu Oct 06, 2005 3:46 pm   Post subject: (No subject)

[Gandalf] wrote:
*cough*better?*cough*
http://img305.imageshack.us/img305/2558/win6ku.jpg

Now I won... Shifty


Wow, that's amazing! How'd you know that that's what it was?

Nice use of the shifty eyes Very Happy
Tony




PostPosted: Fri Oct 07, 2005 7:59 am   Post subject: (No subject)

Turing:

Rand.Set (1)
if Rand.Int (1, 999999999) = 720446773 then
    put "haxor"
end if

Twisted Evil
StarGateSG-1




PostPosted: Fri Oct 07, 2005 9:24 am   Post subject: (No subject)

Nope Sorry Gandalf not luck for you, I should have been more clear I need to see all the source code i can't read what the Rand.Int max is.

Plus the chnace of getting that right is insane mainly becasue it resets everytime.

I don't think anyone could get that right and have all the source code running, included the the entire background of Windows.
[Gandalf]




PostPosted: Sat Oct 08, 2005 5:10 pm   Post subject: (No subject)

Where is the trust? Smile

http://img69.imageshack.us/img69/8391/win39ol.jpg
Sponsor
Sponsor
Sponsor
sponsor
StarGateSG-1




PostPosted: Mon Oct 10, 2005 9:17 pm   Post subject: (No subject)

The problem isn't trust, jst that unless you sit there for hours I dout you would get the number!

Please take another one without another turing window open. So just the program and the run window, even better I think i can post complied file now!



Unnamed.zip
 Description:

Download
 Filename:  Unnamed.zip
 Filesize:  274.04 KB
 Downloaded:  132 Time(s)

[Gandalf]




PostPosted: Mon Oct 10, 2005 9:29 pm   Post subject: (No subject)

Pah... Give me a break, what could another Turing window do? You see it is Unnamed #2, that's what the source file is, and that's all I'm going to be bothered to show. Think about how hard it would be to guess the number for the third time would be.

I hope you get my point, if not, I will enlighten you later.
Tony




PostPosted: Tue Oct 11, 2005 7:40 am   Post subject: (No subject)

Turing:

View.Set ("title:Unnamed #2* - Turing")
put ""
goboenomo




PostPosted: Thu Oct 13, 2005 11:34 am   Post subject: (No subject)

codemage wrote:
That's some very... uh... linear code you've got there.

You should invest some time in reading about Loops, here:
http://www.compsci.ca/v2/viewtopic.php?t=3678

You'll gain the time back by not having to type so much. (Loops would make the majority of your code below unecessary, since you're basically doing the same thing 10 times.)[/url]

agreed u could cut that code so much smaller

The game: i find it a bit boring..
could put some more creative things into that..
didnt have to go all out with the background and colored letters
The_Triangle




PostPosted: Sat Nov 12, 2005 8:24 am   Post subject: (No subject)

StarGateSG-1 wrote:
Not to be a bum, but he is making false claims.

Try this out.

+20 bits to the person who beats this, I want a screenshot.

Edit, not working, give me a minute Confused

Well I guess i will have to give the source code, this is wierd it can't upload the file Confused

code:
var Num_Answer : int
var Num_Guess : int
loop
Num_Answer := Rand.Int(1,999999999)
put "Please enter any number between 1 and 999999999"
get Num_Guess
if Num_Guess = Num_Answer then
put "Congradulations, you beat the longest guessing game ever"
exit when Num_Guess = Num_Answer
else
put "Nope try again"
end if
end loop


Good luck with this.


can we make it say if its lower or higher than what our guess is?
Mr. T




PostPosted: Sat Nov 12, 2005 2:21 pm   Post subject: (No subject)

The_Triangle wrote:
StarGateSG-1 wrote:
Not to be a bum, but he is making false claims.

Try this out.

+20 bits to the person who beats this, I want a screenshot.

Edit, not working, give me a minute Confused

Well I guess i will have to give the source code, this is wierd it can't upload the file Confused

code:
var Num_Answer : int
var Num_Guess : int
loop
Num_Answer := Rand.Int(1,999999999)
put "Please enter any number between 1 and 999999999"
get Num_Guess
if Num_Guess = Num_Answer then
put "Congradulations, you beat the longest guessing game ever"
exit when Num_Guess = Num_Answer
else
put "Nope try again"
end if
end loop


Good luck with this.


can we make it say if its lower or higher than what our guess is?

That would be pointless because you're recieving a new random number every time the loop cycles.
Clayton




PostPosted: Wed Jan 11, 2006 7:26 pm   Post subject: (No subject)

uh, wow, uve got a lot of time on your hands i must say you probably could have shortened that by about 400 lines with some loops and procedures, but to his his own hope you had fun programming that
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 30 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: