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

Username:   Password: 
 RegisterRegister   
 Simple craps game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hossack




PostPosted: Thu Apr 16, 2009 9:23 am   Post subject: Simple craps game

It should only ask to play again if you win, but it asks everytime. Any ideas why?


Craps.zip
 Description:

Download
 Filename:  Craps.zip
 Filesize:  237 KB
 Downloaded:  480 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tallguy




PostPosted: Thu Apr 16, 2009 9:34 am   Post subject: RE:Simple craps game

umm i would help but i have no idea how to play craps . . .
hossack




PostPosted: Thu Apr 16, 2009 9:42 am   Post subject: RE:Simple craps game

Don't Spam then Razz It comes with instructions
Tallguy




PostPosted: Thu Apr 16, 2009 9:50 am   Post subject: RE:Simple craps game

just a tip, don't separte everything into different procs, have only a few, makes for easier reading of your code,

and you loop you if statment where it should answer but it only exits your if stament, then you call it again with your procs, that could be where your having your problem,

don't quote me on this but i think thats why
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 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: