Please print this page and provide it to the
TA when you demonstrate your machine problem.
When you submit this, the TA should:
check your solutions,
ask a random question that tests your understanding of the MP,
assign points for each item on the list,
check the 'Demo' box,
assign bonus/penalty points,
and provide the floppy for electronic handin.
This page should be stapled to the front of your MP3 assignment.
| Category |
Points |
Min |
Max |
MP3Main
- Terminates the game on pressing the Esc key anytime during game play.
- Loops until all the lives are used up.
- Handles any race condition ( the ball should not hang in mid-air for a few
seconds ).
- Causes the player paddle to move smoothly.
|
|
0 |
5 |
GenerateGame
- Generates the ball at a different location ( in the middle row ), for each
new game.
- Ends the game when no more lives are remaining.
|
|
0 |
5 |
DrawScreen
- Does not cause the screen to flicker.
- Draws the paddles and ball correctly on the screen.
- Updates the score and lives remaining properly.
|
|
0 |
5 |
UpdatePlayers
- Handles the UP key and DOWN key appropriately.
- Causes the AI to move with a certain amount of randomness.
- There should be at least one case where the AI randomly returns the ball,
and another where it misses.
|
|
0 |
5 |
UpdateBall
- Makes sure that the ball bounces off the paddles, and NOT otherwise.
- Simulates the library code in handling the motion of the ball at the edges.
|
|
0 |
5 |
UpdateMap
- Handles all ball movement ( except at the edges ).
- Updates the wallpaper correctly, on bouncing off a block.
- Simulates the library code in handling the motion of the ball near the
blocks.
|
|
0 |
5 |
Keyboard ISR
- This is a combined check for all three function calls:
- Installs and Uninstalls the KbdHandler correctly.
|
|
0 |
10 |
Timer ISR
- This is a combined check for all three function calls.
- Installs and Uninstalls the TimerHandler correctly.
- Sets the timer chip to fire 36 times a second and resets it back to 18 when
done.
- Calls oldTimerV every second time so as not to disturb other programs
running simultaneously in memory.
|
|
0 |
10 |
| Functionality Subtotal |
|
0 |
50 |
Comments (* percentage of code written)
- Clear and precise line & procedure comments (describes all major routines): -0
- Sports Announcer comments (line-by-line): -1
- Unclear comments: -1
- Sparse comments: -3
| | -5 | 0 |
Technique & Style (* percentage of code written)
- Compact and Efficient code: -0
- Contains repeated code (lacks loops): -3
- Does not use Defined constants: -2
| | -5 | 0 |
I/O Specs & Modularity (* percentage of code written)
- Violates specifications for given subroutines: -5
- Procedures do not preserve registers: -3
| | -5 | 0 |
Penalty/Bonus
Before 5pm, Tue 10/19/99: +1 pt/weekday
After 5pm, Tue 10/26/99: -10 pts/weekday
| | -50 | 5 |
| Total | | 0 | 55 |