CMPSCI 187: Programming With Data Structures

David Mix Barrington

Fall, 2012

Solution to Programming Project #4

Project #4 was to create a class called MapGrid.java which, like the class of the same name in Project #3, extends DJW's Grid.java, whose objects are grids of land and water squares. This class has several new methods as described in the assignment page for Project #4. You also need some auxiliary classes. These classes were written by Ravali Pochampally (except for Grid from DJW and Move from Jacqueline Feild) and edited by David Mix Barrington.

Last modified 7 November 2012