Requirement Points



Yüklə 4,44 Kb.
tarix14.10.2017
ölçüsü4,44 Kb.
#4758

PacMan Rubric

Requirement

Points

Good variable practices

  • Variables use an appropriate scope. If a variable doesn't need to be global it shouldn't be. (10pts)

  • Variables and function arguments are named to represent their use or contents. (5pts)

15

Good function practices

  • Use of functions makes the program easier to understand (10pts)

  • Each function has a single, clearly defined purpose (10pts)

20

Good object practices

  • Master objects clearly separated from children. Ghosts should be implemented with clones of a master. (5pts)

  • Multi-object events separate the check and the response. It shouldn't be possible for an event to happen but part of the response to it not happen. (10pts)

15

Game capabilities

  • PacMan (controlled by arrow keys) and Ghosts (controlled by the program) move around the original PacMan map. They can’t break through walls. (5pts)

  • Ghosts only turn at corners and never turn 180 degrees (5pts)

  • Ghosts eat PacMan except for the bonus period after PacMan eats fruit (5pts)

  • Ghosts respawn in the center after being eaten. (5pts)

  • For a short period after eating the fruit, the Ghosts change color and PacMan can eat them (5pts)

  • PacMan eats the dots as he moves (5pts)

  • Eating a dot, fruit, or ghost adds to the score (5pts)

  • The game ends when all the dots have been eaten (5pts)

40

Game play

  • Common game play is bug free. (10pts)

10

Total

100

Yüklə 4,44 Kb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə