Stanford CS106A Breakout Code


/ Published in: Java
Save to your folder(s)

This is my code for the "Breakout" assignment from Stanford's CS106A class, which is available free online.

I went a little above and beyond the original assignment, which has caused some issues.

The program works pretty well for the most part, but at higher velocities, the ball starts to "skip" some of the bricks. I have no idea how to fix this or if it is possible. The other bug I've noticed is when the ball hits the paddle in a way that causes it to reverse direction (see code). If this happens too close to the wall, the ball gets "stuck."

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.