Constructor
new CypherPokerCard(mapping, cardInfo)
    Creates a new card instance.
    Parameters:
| Name | Type | Description | 
|---|---|---|
mapping | 
            
            String | The plaintext mapping or unencrypted value for the card (e.g. a quadratic residue) | 
cardInfo | 
            
            Object | Additional information for the card such as its suit, numerical value, colour, etc. Enumerable properties of this object become accessible directly as frozen properties of this class instance. | 
- Source:
 
Members
(readonly) mapping
Properties:
| Name | Type | Description | 
|---|---|---|
mapping | 
            
            String | The plaintext or face-up value (e.g. quadratic residue), associated with this card. | 
- Source:
 
Methods
addToDOM(parentElement, cardClassopt, URIPropopt)
    Adds a graphical representation of the card to the HTML DOM.
    Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
parentElement | 
            
            HTMLElement | The parent or containing element within which to add the card graphic. | ||
cardClass | 
            
            String | 
                
                    <optional> | 
            
            
                "card" | Custom class to apply to the card element. | 
URIProp | 
            
            String | 
                
                    <optional> | 
            
            
                "imageURI" | The dynamic property of this instance that contains the URI of the card image with which to construct the child element. | 
- Source:
 
compare(card) → {Boolean}
    Compares the properties of another CypherPokerCard instance to this
one to determine if they're the same card.
    Parameters:
| Name | Type | Description | 
|---|---|---|
card | 
            
            CypherPokerCard | The card instance to compare to this one. | 
- Source:
 
Returns:
    True if both cards have the same properties, false
if they're different.
- Type
 - Boolean