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
- 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.
- The smaller cards for you to use can be obtained from this zip file.
- A game in progress should not be disturbed by a change in the size of the cards.
- Changing the size of the cards is not a change that is saved in the undo or redo stacks.
- The size of the cards need not be saved when a game is saved to a file.
- 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
- For one extra credit point, find a set of cards of a third different size and add that as another option to the Size menu.
- You can also make up your own enhancement. If it is well done, I will give you extra credit points for it. You might want to clear your idea with me first.
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."