Homework 3General CommentsHomework assignments will be drawn from a variety of sources. For programs, make sure you commit your solution to SVN by the assignment deadline!DetailsSolve a variation of Problem 2.3.5 from book.
Name your project DiamondChessboard.
Start by creating a single diamond.
Then create an 8x8 Chessboard-like pattern with diamonds.
Since the chessboard isn't isn't lined up with either the vertical
or horizontal axis, you may have to do a little thinking about how
to get the 8x8 board to draw properly.
Modify the function that draws the diamond so that it takes a color. Then draw the diamonds filled (rather than just the lines) in two different colors.
Make sure your project is named DiamondChessboard and that you commit it to SVN by the deadline.
|