Provides access to instances of VANAMBURG::OrderedSuit to efficiently represent the suits in a CHaSeD style deck stack.
An instance of VANAMBURG::OrderedSuit to efficiently represent the Spades suit in a CHaSeD stack.
An instance of VANAMBURG::OrderedSuit to efficiently represent the Hearts suit in a CHaSeD stack.
An instance of VANAMBURG::OrderedSuit to efficiently represent the Clubs suit in a CHaSeD stack.
An instance of VANAMBURG::OrderedSuit to efficiently represent the Diamonds suit in a CHaSeD stack.
An array reference holding each of the suit instances in an ordered in CHaSeD order.
Returns the mate of the card passed as input.
my $heart = $self->opposite_suit($self->diamond);
Returns the suit following the input suit for a CHaSeD packet.
my $diamond = $self->next_suit($self->spade); my $club = $self->next_suit($self->diamond);
Returns the suit preceding the input suit for a CHaSeD packet.
my $diamond = $self->previous_suit($self->club); my $heart = $self->previous_suit($self->spade);
To install VANAMBURG::Magic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VANAMBURG::Magic
CPAN shell
perl -MCPAN -e shell install VANAMBURG::Magic
For more information on module installation, please visit the detailed CPAN module installation guide.