Represents a playing card, having a suit and a face value.
Returns the instance of VANAMBURG::Suit that represents the suit of this card.
Returns an instance of VANAMBURG::FaceValue that represents the face value of this card.
Returns a string abbreviation for this card that is composed of the abbrevation of the value and suit of the card. For example, it returns 'AS' for the Ace of Spades, and 'JS' for the Jack of Spades.
Returns an abbreviation for the card where the suit is the unicode character for the suit of the card.
Returns "true" (1) if the value and suit of the input card matches that of this card.
Returns an english name for this card, such as 'Ace of Spades'.
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.