Package smithers.cards

Interface Summary
BuildingRule Implentations of this interface specify rules for building on the stack.
 

Class Summary
AbstractBuildingRule Simplifies the definition of a BuildingRule be redefining in terms of a different collection of methods.
BuildingDownByAlternatingColours A building rule which allows a card to be placed if it is the opposite colour to, and one rank lower than, the top card.
BuildingUpBySuits A building rule which allows a card to be placed if it is the same suit as, and one rank higher than, the top card.
Card Class to store a playing card from a standard 52-card poker or bridge deck.
CardStack Class to store a stack of Card objects.
Klondike Represents a game of Klondike, also known as Canfield in the UK.
TerminalKlondike Plays Klondike in a text terminal.
 

Exception Summary
CardMoveException Exception to throw when an illegal move is attempted.