-
I downloaded it when you first posted about it.
Here are my comments (from what I remember)
- You use ALOT of nesting. You nest 2-3 if() structures within other if() structures which are a part of a while() structure. This can be hard to follow and I suggest you re-think some of your logic and try using switch statements
- No goto statements.. Violate the practice of structured programming
- You have a lot of numbers in your code (no duh), but you should try a #define some constants to make the code more readable
- Your source is pretty long, you could/should break it up into multiple source files (this will help readability as well)
You did a good job, but you could clean up your code a bit. I would love to see your revised code so maybe I could learn how you did your menu.
-
Yea sure.. I was also thinking of doing it.. I think i will recode it in a few days...
-
I am impressed. You put a lot of work into this one. I was working on a game a while back and just have not had the time to get back started on it. I was trying to reproduce pacman but man does it take so much effort. I have not had the will recently to continue on it. I am will be posting what I have so far to my website since the project is so large 2.75MB zipped... because of the bitmaps mainly.
-
If I start a game and press ESC to get out of it my screen get messed up and I need to use task manager to close the prog. Not a huge bug. It looks pretty cool.
-
Well i will see the pac man game now.. And the game gets messed up i think because i have not colsed the graph whith the function closegraph() Using this function i think would solve the bug..