There has to be an easier way. -
12-21-2011, 04:25 AM
We have 2 consecutive labs, the first is to create a ring game where a cone catches a ring. That lab I have no issue with and is already completed. However the next lab builds upon the ring toss game and asks that we use an array of the torus object so that multiple rings can fall at the same time at different speeds. Also we are to increase the quantity of rings as the game progresses, and keep track of hits / misses.
I have a working version of the game I would like some of you to look over. I know what I have works, but I just want to see if there's something I can to do make the code cleaner. My method seems more brute force than algorithmic any ideas?
|