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

Username:   Password: 
 RegisterRegister   
 The Game of Craps I
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
abhishekshah12




PostPosted: Tue May 02, 2006 6:03 pm   Post subject: The Game of Craps I

This is the game i made in school as an assignment... any suggestions on this?? replies will be read and any glitches will be rectified


CRAPS FINAL.T
 Description:

Download
 Filename:  CRAPS FINAL.T
 Filesize:  4.89 KB
 Downloaded:  170 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
TheOneTrueGod




PostPosted: Tue May 02, 2006 8:04 pm   Post subject: (No subject)

Uh, a few problems... biggest one is #5...

1) "Back to menu" button doesn't do anything, as theres no menu to go back to Razz.

2) If you type in no, at the "Do you want to play" screen, the program just sits there. Consider either ending the program (Don't use quit), or going back to the "Main menu" with the rules/play game buttons.

3) There were some warnings at startup that you need to fix.

4) If i type in something to the extent of "N" or "n" or "nO", then it accepts that as a yes. Either validate the input a bit more, or use a simple:
code:

loop
   ch := getchar
   exit when ch = "y" or ch = "n"
end loop

proceduralize (idk if thats not a word Razz) it, or just throw it in, whatever you want.

5) The program doesn't get past the point where you enter how many games you want to play. There is a run time error (total has no value. I didn't look through the code, but did you initialize it?)
abhishekshah12




PostPosted: Wed May 03, 2006 6:55 am   Post subject: Re- Reply for the program

yeah ... thanks for the tip... i will try and do the things you asked me to edit... ill send the program again for reviews in couple of days and then you can tell me wat changes i need to make
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  [ 3 Posts ]
Jump to:   


Style:  
Search: