CS361
Project 6
Adding two other solitaire games
due: Monday, April 14, before I leave for the day
Assignment
Add two more new solitaire games to your application:
- Klondike
- Black Hole
Details
- Add to the "Game" menu two more menu items containing the names of the two new solitaire games. As before:
- when the user selects one of these menu items, a new game of the chosen type is created for the user to play.
- When a new kind of game is selected, the new game should appear in the same window as the old game. It is okay to resize the window for the new game.
- All of the menu items must work for all the kinds of games, except for the "Shuffle" menu item, which should be disabled for non-Carpet solitaires.
- The statistics should apply only to each kind of game and should not combine the types.
- When you open a saved game, the window should display that game regardless of whether it is the same kind of game as the current game you are playing.
- Create a UML class diagram of the classes in your application. Don't display the methods and fields in each class.
- For rules to these games, see me and/or go to these web sites:
- http://en.wikipedia.org/wiki/Klondike_(solitaire)
- http://en.wikipedia.org/wiki/Black_Hole_(solitaire)
- Here are what your new games should look like:
Klondike solitaire

Black hole solitaire
Extra Credit
- 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 ideas with me first to make sure that I think it is worth any extra credit points.
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 5 that has my red marks on it.
For
fun: An Ambiguous Recommendation
"No salary would be too much for Kevin."