   Pong game question....
  I''m currently making a Pong game.So far I have done everything(ball,racket and ball collision with walls and racket) but I haven''t done anything about the blocks.I would like to ask: what data structure would be better for the pile of blocks?I know that in every loop I have to go through each of the blocks and checj for collision with the ball.What is the better structure or at least what do you use in your Pong game?Thanks! 
  Just use a large array containing all the blocks. Spend some time getting that working, and in doing so, you may realise a way to make it more efficient. P.S I think you mean ''Breakout'' not Pong. ;  Thanks a lot!I''ll try it and yes,I mean Breakout.;  Hi,The ball can only be in one part of the screen at a time, so why not group the blocks together into say 10 or 20 zones, compare the bounding box''s for these zones against the ball''s position and then you only have to check the blocks inside that specific zone rather than all the blocks.Should cut down on the number of checks you have to do. 8o)Michael