NOTE: The code has too many magic numbers: 300, 100, 40, 200, 30, 170, 80, 90, ...
Most of these should be defined as variables with descriptive names to allow easy changing of the game to run on...
Type: Posts; User: Norm
NOTE: The code has too many magic numbers: 300, 100, 40, 200, 30, 170, 80, 90, ...
Most of these should be defined as variables with descriptive names to allow easy changing of the game to run on...
Time to do some debugging by adding some println() statements to display the ball's position and the postions of bricks to see why the collisions are not being detected.
NOTE: The code has too...