The Game of Craps I
Author |
Message |
abhishekshah12
|
Posted: 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
Description: |
|
Download |
Filename: |
CRAPS FINAL.T |
Filesize: |
4.89 KB |
Downloaded: |
170 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
TheOneTrueGod
|
Posted: 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 .
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 ) 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
|
Posted: 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
|
|
|
|
|
|
|
|