Introduction to Object Oriented Programming, 3rd Ed

Timothy A. Budd

Chapter 9

The Solitaire Game

Outline

  1. The Solitaire Game
  2. The class PlayingCard
    1. Some Features to Note
  3. Separation of Data and View
    1. The CardView is Eventually Implemented
  4. The Game -- Klondike
  5. Card Piles
    1. The Class CardPile
    2. Some Features to Note
    3. Power of Inheritance
    4. Suit Piles
    5. Deck Pile
    6. Discard Pile
    7. Tableau Piles
  6. The Polymorphic Game
    1. Some Features to Note
  7. The Main Program
  8. Chapter summary

Source

Other Material

Intro OOP, Chapter 9, Outline