Project 3
CS 320
75 points, due Apr. 16, 2003
Design a small maze, based on several rooms that fit into a grid. (Rooms will be simpler to deal with than hallways.) Your
display should provide a small overhead view (with some indication of what
direction the viewer is looking toward) and an immersed view. Put a few
obstacles in each room as well as using two balls (spheres) which roll
around the maze. Here are some design parameters:
- Modular design and literate documentation. Documentation should
include a user guide, explaining how to play the game.
- Your collision detection and rendering should be ``smart,'' as we'll
discuss.
- Minimize the number of ``building'' blocks used. Use display lists
as much as possible.
- Movement:
- Up arrow: forward one unit.
- Down arrow: backward one unit.
- Left arrow: rotate left 1/16th of a turn.
- Right arrow: rotate right 1/16th of a turn.
(To eliminate floating point round-off errors, store the rotation position
as a small integer and convert that to radians as necessary.)
- Include a ``zombie'' which slowly and weakly follows the viewer. If
the zombie ever collides with the viewer, the ``game'' is over. The zombie
should have the general shape of a human.
Thomas P. Kelliher
Wed Apr 2 09:02:02 EST 2003
Tom Kelliher