Although the assignment asks for one ball, I wrote the whole "ball" code as a class. I wanted to use the object oriented aspects of java. So I could simply create a new ball object using the same "ball" class. Which meant multiple balls were very easy to reproduce. As well, I thought some sound effects would also help matters, so I gave that a try.

Download the source code here