CS 320
75 points, due April 22, 2011
Design a small maze, based on several rooms that fit into a grid. (Rooms will be simpler to deal with than hallways.) (Optionally, you can think about generalizing the 2-D maze.) Your display should provide a small overhead view (with some indication of what direction the viewer is looking toward) and an immersed view. It would be ``really cool'' to be able to drag the overhead view around. An alternative (probably better) would be to create a second window for this 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:
You may modify the keys assigned to movement and add additional keys to follow gaming conventions. Make sure to document this in your user guide!
Your solution is to be e-mailed to me at kelliher[at]goucher.edu
.
All project files should be sent as attachments in a single e-mail. You
may collect all the files into a single ZIP archive, changing the file
extension if necessary. You should send all files necessary for me to
build your program from source (generally, this is all .h and .c files), as
well as any data, documentation or test files. You should send an ASCII
file, named README.txt
, describing the rest of the attached files.
I will build your program from source and run it for myself. Your project
is due at the beginning of class on the due date.