logo

CMSC 132

Sections 030X/040X/050X
Assignment:     Project #3
Due Date:     Wednesday 02/26, 11:00PM
Open/Closed policy:     OPEN

Overview

For this project you will implement a game called clear cell. We will provide the graphical user interface (GUI) and you will develop the code that implements the rules of the game. A video demonstrating the game can be found here: Game Video

As you saw in the video, the game board is a grid of colorful squares we are calling "cells". The goal is to clear as many cells as possible before the colorful cells reach the bottom row. When the user clicks on a cell it will be cleared, along with adjacent cells that have the same color. (This includes cells directly above, below, to the left, to the right, and each of the four diagonally adjacent squares.) If an entire row of cells is cleared, the row will be removed (collapsed) so that all of the rows beneath shift upward.

The game will keep track of the player's score: The player gets one point for each cell that is cleared.


Grading

There are no secret tests for this projecct


Code Distribution

The project's code distribution contains the following:


What You Must Do

You are expected to implement methods for the GameModel and ClearCellGameModel classes. The other classes have been provided and you should not modify them. You should implement the project in the following order:

  1. Familiarize yourself with the BoardCell enumerated type.
  2. Implement the abstract class GameModel.
  3. Implement the concrete class ClearCellGameModel (an extension of GameModel).

The javadoc is here: Project Javadoc


Requirements/Clarifications

Submission

Submit your project using the "Submit Project" option (available by right clicking on the project folder).


Academic Integrity

Please make sure you read the academic integrity section of the syllabus so you understand what is permissible in our programming projects. We want to remind you that we check your project against other students' projects and any case of academic dishonesty will be referred to the Office of Student Conduct


Web Accessibility