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

Username:   Password: 
 RegisterRegister   
 A Basic Guess a number
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ruff_riders91




PostPosted: Sat Dec 13, 2003 4:21 pm   Post subject: A Basic Guess a number

This is just a basic guess anumber game between 1 and 100


Guess.t
 Description:

Download
 Filename:  Guess.t
 Filesize:  1.13 KB
 Downloaded:  194 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Dec 13, 2003 4:31 pm   Post subject: (No subject)

not bad... although the output should be

number_guessed , "is too high/low" Smile
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Andy




PostPosted: Sat Dec 13, 2003 5:02 pm   Post subject: (No subject)

hmmm how can u win if you guessed 0 times? your counter should add before your ifstatements
DanShadow




PostPosted: Sat Dec 13, 2003 5:13 pm   Post subject: (No subject)

Pretty good...is the number random? (it better be, heh...i didnt bother trying more than once) You should probably give them a certain amount of chances in the game, or else they could just be some loser going, 1, 2, 3, 4...100, Wink [woot, 6 guesses and I won...aw]
JayLo




PostPosted: Sun Dec 14, 2003 3:02 am   Post subject: (No subject)

hahaha. i remember this program out of the book.
DanShadow




PostPosted: Tue Dec 16, 2003 11:59 am   Post subject: (No subject)

Lol, so ruff_riders is copying things out of books, and making it look like its his own code. hah
ruff_riders91




PostPosted: Wed Dec 17, 2003 7:48 pm   Post subject: (No subject)

I didn't copy anything out of a book, i did that as an assignment in gr.10 compsci
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 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: