Homework Assignment 7

A Simple Game of Catch

CS 2530
Intermediate Computing

Due: Friday, October 26, at 5:00 PM


Now that that we have seen the Ball World and the Cannon Game, and even extended the Ball World, let's write our own little world. It will be a small step toward implementing classic video games like Pong. As primitive as Pong was, it was hugely popular!

Given the similarity of the new game world to the Cannon Game, you might want to use the Cannon Game as an inspiration or even a template for your solution.


Create a simple game called Catch.

The window for a game of Catch looks something like this:

a simple mock-up of the Catch window

The game consists of a number of components:

The ball should bounce off the top and the bottom of the window, but not the wall behind the catcher. If it bounces past the catcher, it is out of play. (So, you should use a BoundedBall, or a variation of it.)

Be sure that your submission has at least ...

Feel free to add your own style to the game -- as long as your solution follows the guidelines above. Have as much fun as you are willing and able!


By the due date and time, submit a zipped file containing:

For your hardcopy, submit only your readme.txt file.

Be sure that your submission follows all homework submission requirements.

Eugene Wallingford ..... wallingf@cs.uni.edu ..... October 19, 2012