Class | Description |
---|---|
Card |
A class for representing standard (French) playing cards.
|
CardStack |
CardStack - a superclass of all Card stacks, embodying basic functionality, yet modifiable via class extension.
|
Cascade |
A Cascade is a specialized card stack where a card may be added if if either (1) the stack is empty, or (2) the top card is the next higher rank with differing color.
|
Cell |
A Cell is a specialized card stack where a card may be added if the stack is empty (free).
|
Deck |
A Deck is a specialized card stack that initially has all cards shuffled according to a given random number seed.
|
Foundation |
A Foundation is a specialized card stack where a card may be added if (1) it is empty and the card is an ace or (2) it is not empty and the card is the same suit as the top card with the next higher rank.
|
Freecell |
Text-based view and controller for Freecell game.
|
FreecellGame |
Model of a Freecell game.
|
Exception | Description |
---|---|
IllegalPlayException |
A trivial extension of an Exception with a message for carrying illegal play information.
|