CMPSCI 187: Programming With Data Structures

David Mix Barrington

Fall, 2012

Solution to Programming Project #3

Project #3 was to create a class called MapGrid.java, extending DJW's Grid.java, whose objects are grids of land and water squares. This class has a method continentMap that returns a String giving a map of the grid with its continents labeled. 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 1 November 2012