A practice program. The ball changes to a random direction when encountering an object or the edge of the world. For practice, I also made the Bumpers relocate when hit.
Update - Added a bomb that moves like the ball, and when they collide its all over.