Consider a number of same-sized squares arranged in an n-by-n grid, much like the squares on the board used for the games of checkers and chess. Place either a black or a white tile in each square. After arranging the tiles, you should be able to move the grid of tiles to another location without disturbing the pattern of tiles and without re-creating the tiles. Implement classes for the tiles and the grid.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here