CS320 Project 3 Part II - Interactive
Pool Simulation
The main focus of this project is to add interactivity to your pool
simulation. The user should be able to:
- Rack up the balls.
- Break.
- Take shots.
- Place the cue ball should it be pocketed, or to begin a game.
We'll need some new features for the pool table. Implement pockets. You should
do this by extending the file format. In other words, you'll read number of
pockets, pocket positions, etc. from the file. You'll need to add an object
parameter that says, in effect, ``If a ball collides with me it is removed from
the table.'' Visually, it would be cool if the ball, instead of instantaneously
disappearing, disappears a bit more gradually --- for instance by decreasing the
radius in steps. Also, note that a pool ball doesn't drop in a pocket as soon as
it overlaps the pocket. It drops when its point of contact with the table is
within the area of the pocket.
I'm purposefully being vague on the nature of the user interface. Let's see
how you employ your imagination, creativity, and experience with other games to
design an effective user interface for pool. If you'd like to run ideas by me,
I'd be happy to comment on them.
I'd like to see you add a feature or two that I haven't mentioned here. Some
sort of scoring, two player games, etc., for example.
Submit your project in a single ZIP archive. You should include project
documentation describing the features of play as well as your test files.