The StandardCard class represents a standard playing card. It has the following properties:
name
: The name of the card.color
: The color of the card.rank
: The rank of the card.suite
: The suite of the card.number
: The number value of the card.This class is used to represent a real card in the real world, and it is returned by most of the methods in the package, either as an array or as an individual element.
By utilizing the StandardCard
class, you can work with playing cards in a standardized and convenient manner.