VANAMBURG::Card

Represents a playing card, having a suit and a face value.

suit

Returns the instance of VANAMBURG::Suit that represents the suit of this card.

value

Returns an instance of VANAMBURG::FaceValue that represents the face value of this card.

abbreviation

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.

unicode_abbreviation

Returns an abbreviation for the card where the suit is the unicode character for the suit of the card.

equals

Returns "true" (1) if the value and suit of the input card matches that of this card.

display_name

Returns an english name for this card, such as 'Ace of Spades'.