CS361

Project 7
Adding different size cards
due: Monday, April 21, before I leave for the day

Assignment

Add another new feature to the solitaire application: Let the user choose between two different size cards.

Details

  1. Add a new "Size" menu with two menu items: "Small" and "Large". When "Large" is selected, the cards that we've been using in the past are used. When "Small is selected, smaller cards are used.
  2. The smaller cards for you to use can be obtained from this zip file.
  3. A game in progress should not be disturbed by a change in the size of the cards.
  4. Changing the size of the cards is not a change that is saved in the undo or redo stacks.
  5. The size of the cards need not be saved when a game is saved to a file.
  6. The new layout should not just use the smaller cards and leave everything else the same. If you did that, the cards would be spaced too far apart or there would be big empty spaces in the solitaire window. So the smaller cards need to be positioned closer together and the window should be shrunk appropriately.

Extra Credit

What to hand in

Hand in a hard copy of all the source code files you created or modified and also zip up all source code files and send the zip file to me as an email attachment. See the course web page on handing in assignments for further details. Also, I want you to hand back in the hard copy of Project 6 that has my red marks on it.

For fun: An Ambiguous Recommendation

"There wasn't much, which Chris couldn't do."