C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28691
Number of posts: 94711

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help: Car game.. Posted by gauravk_newton on 18 Dec 2008 at 12:57 AM
Hi ppl..
actually wrote a code for a car racing game..actually its stil a sort of car racing game..almost complete..jst left with the scoring n level change work..
i can do the menu designing later..

d problem m facing is dat since i wrote the code 6 months back n cudnt work on it thereafter, m now unable to understand the various variables i used in my program.can plz someone help me to understand my own source code? (sounds crazy..but thats d way it goes..just a help request..)

if someone is truly intrstd i wud upload my code..

P.S.-i joined PH today jst for d above assistance required..Hopes rhigh..

Bye..
Report
Re: Help: Car game.. Posted by Lundin on 18 Dec 2008 at 4:58 AM
I'm sure someone is willing to peek at it if you post it.

Lesson learnt is to give your variables and functions proper names, and to generously comment the code. Some have for example the poor habit of naming their variables a, b, c, tmp, tmp2, tmp3... and such nonsense.
Report
Re: Help: Car game.. Posted by SakthivelCse on 18 Dec 2008 at 8:37 AM
Hi,
I am ready to help you ..can you post your code in this forum such that i can analyse your code and help you.

Report
Re: Help: Car game.. Posted by gauravk_newton on 19 Dec 2008 at 2:27 AM
Hi evryone..thnx for ur replies..actually hav worked it out..

onethng remains in a racing game? how do udecide the win? m not able to close my game..hope u undrstand..close in dsense no win nono lose..d game keeps on going on..

shud i post my code here?
(dunno why i dont feel like posting my code on sites..)

Regards,
GK



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.