CS 10, Fall 2008
Assignment 3
Part 2 Rules for Commands and Arguments


All commands may be entered in upper or lower case or any combination of cases. There are 11 legal combinations of commands and arguments.

3 ways to create a new grid:

3 ways to change the color of a single cell of the grid:

3 ways to change the colors of all cells in a rectangular area of the grid:

2 commands that are already implemented in GridMaker.java-skeleton:

Any other command-argument combinations should result in an appropriate error message (study the "Second run" in the sample runs, and try to make sure your application works the same way).