Grading rubric

Recall the General Instructions for Grading Programs.

Eclipse project for this assignment: GameOfLife (team repositories)

Points to be awarded for:

  1. Unit Tests
    • 10 points - testGameOfLife constructs a new GameOfLife instance and ensures that the grid has been setup correctly (using isOccupied)
    • 15 points - testNextGen steps the game at least 1 timestep, and verifies that the correct cells are occupied
    • 15 points - testGetNeightborCount verifies that the proper number of neighbors are calculated for various cells
  2. GameOfLife
    • 10 points - Uses an appropriate data structure to store the game grid.
      • Note: there are multiple data structures that can be used, each with their own advantages and disadvantages.
      • -5 points if the MAX_ROWS and MAX_COLUMNS constraints are not enforced. Note that this may or may not need to be enforced by the data structure itself.
    • 10 points - Draws every cell that is occupied
      • -5 points if cells are not drawn in the correct location
      • -5 points if cells are the wrong size (must be some function of DOT_SIZE)

Total: 60 points