   a good laugh
  here is my first incomplete pong game with source... any input on 2 things... why collision detection doesnt seem to work always on the computers paddle, and 2) general programming setup.  this really wasnt meant to be a pretty game i was just testing out the sdl.  didnt want to go through effort of making fonts and such.  anywayz it lives up to its name   heres the link i think.  any tasteful input would be appreciated.worst game ever
  Well I didn''t have any problems with collision detection, although the computer controlled paddle seems to move really badly if the ball is moving in a steep angle to the left. It might be worth storing the position and velocity as floats and then cast them to ints when you need to render (assuming SDL can''t handle float positioning - I''ve never used it)The program structure is, uh, weird  . For one all of those .h files should really have .c or .cpp extensions. I couldn''t really work out which particular file the executable was compiled from, either. It looked like bits of all of them. It''s generally easier to put each class or group of classes into it''s own source file.But yeah - it was decent enough for me to waste some time before my next lab. Keep it up : )And on that note - I''m going to be late . . . 