NAME
Whatbot::Command::Blackjack::Stack - Represents an independent, arbitrary stack of cards
DESCRIPTION
Acts as a base class for a deck or a shoe to provide helper functions for a stack of cards.
PUBLIC ACCESSORS
- cards
-
Array reference containing each card in the stack.
PUBLIC METHODS
- shuffle()
-
Shuffles the cards in the cards array reference.
- card_count()
-
Returns the current number of cards left in the stack.
- take()
-
Pulls a card from the stack and returns it.
LICENSE/COPYRIGHT
Be excellent to each other and party on, dudes.