![]() |
School of Engineering and
Applied
Science Department of Computer Science CSci 53 -- Introduction to Software Development http://www.seas.gwu.edu/~csci53/spring04 Alice Armstrong ![]() |
Write and test a class the represents a checker board as a two dimensional array. The class should in clude a constructor which initializes the board to the starting state of the game, a method that allows the user to change the contents of a certain cell (red to black, black to red, red to empty, black to empty), and a toString method.
This class does not have to include methods about the rules of the game, it should just represent the board itself.
(end of lab)