Handed out: | Tuesday, January 23, 1996 |
Due: | 5pm, Thursday, February 8, 1996 |
Your assignment is to implement a simple video game. This assignment is designed to acquaint you with writing interactive programs: you will need to be able to process various input events from the player while simultaneously simulating the events occurring in the game. This assignment will also give you a chance to learn more about basic raster graphics techniques, and the OpenGL system in particular.
Please Note: You should work individually on this project.
At a minimum your game should do the following:
Your game should be highly interactive; that is, your program should be constantly redrawing to generate moving objects, and requiring continuous input by the user or game player. By these criteria you should avoid card and board games.
Don't overdo it on the games! To see the level of effort that
we expect, try out the two games in
/usr/class/cs248/assignments/assignment1
.
Homan Igehy has implemented a simple space war game
(spacewar
), and
Andrew Beers has implemented a version of asteroids
(asteroids
).
Roughly you should budget about 8 hours of time for this assignment.
Each of these example games took between 500 and 1000 lines of C.
Although this may seem like a lot of code, in fact most of it
is quite straightforward.
You will need to send us a short text or HTML file describing what files you are submitting and any other information you would like us to consider when grading your assignment, a makefile that allows us to recompile all your code, the complete source to your game, and any other auxiliary files that we may need to run your game. Please also submit a working executable compiled for an SGI machine. Submission should take place using submit, the assignment 1 CS248 submission script.
We will recompile your program and then attempt to play the game. Your grade will be based on the following criteria: 75% for implementing the functionality that we request, and 25% for the quality of the ``game play.'' Game play covers such factors as the overall refresh rate and interactivity, the aesthetics of the game, and any other features that make one want to play the game. Be forewarned, we will dock up to 10%, if your submission cannot be recompiled and executed, or the instructions are not clear on how to play the game.
hanrahan@cs.stanford.edu