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

Username:   Password: 
 RegisterRegister   
 Help With Millionaire Like Game
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tony




PostPosted: Thu Jan 13, 2011 10:50 pm   Post subject: RE:Help With Millionaire Like Game

hint: 50-50 will evaluate to 0.

But yes. You already got the answer part covered. If the user does 50-50, then you'd want to display a new question and ask for the answer again.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
powerful08




PostPosted: Fri Jan 14, 2011 2:11 pm   Post subject: RE:Help With Millionaire Like Game

Thank you tony i got it now i have to use the same coding but with different questions can you now help me with the take the money feature and the phone a friend feature
powerful08




PostPosted: Fri Jan 14, 2011 2:22 pm   Post subject: RE:Help With Millionaire Like Game

but how do i stop the player from using the 50-50 more then once
Tony




PostPosted: Fri Jan 14, 2011 3:10 pm   Post subject: RE:Help With Millionaire Like Game

The other features are very similar to 50-50, so you can use your own code for reference. You might also want to keep track (perhaps in some variable) if a particular feature has been previously used or not.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

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


Style:  
Search: