Problem: Comets
The software company you're working for is developing a game named Comets that is essentially an old
popular arcade game. The player controls a spaceship that floats around in two-dimensional space, propelled by its
engines and carried by its inertia. Comets are also floating around. Anything that goes off one side of the screen re-
emerges on the opposite side. The player's goal is to destroy all of the comets without colliding with any of them.
The situation is complicated somewhat by the fact that shooting larger comets causes them to break into several
smaller comets, thus making them more difficult to avoid.
A basic game interface is already written, so you don't need to worry about drawing anything on the screen or
responding to the player pressing buttons. All you need to do is write classes to represent the various objects in the
game. JavaDoc specifications for these classes are provided in the .zip file.