need help for a game

I made a cricket game. It doesn't have graphics involved coz I suck at it. The program generates a target and the user has to reach that score in 3o balls. Bt the runs the user makes is all generated using random number generator. I thought maybe it would be good if u used a timer or smthing and the timing would determine the run scored. Anyone who knows abt it or has a better idea of improving it pls reply.
I'll be the first to say that we have a lot of very talented programmers on this site. But I can say with full confidence that none of them can improve on the code that you forgot to post :p.
It's pretty long. Can't I just explain it. The program calls rand() and a certain target is obtained. And then 30 times or until the target Is achieved rand() helps in obtaining the score
Topic archived. No new replies allowed.