(self, card_2d)
return card_2d[0] * self.rules.N_SUITS + card_2d[1]
Args:
            card_2d (np.ndarray):    array of 2 int8s. [rank, suit]

        Returns:
            int8: 1d representation of card_2d
Args:
            card_2d (np.ndarray):    array of 2 int8s. [rank, suit]
Args : card_2d ( np . ndarray ) : array of 2 int8s . [ rank suit ]
def _get_1d_card(self, card_2d):
        """
        Args:
            card_2d (np.ndarray):    array of 2 int8s. [rank, suit]

        Returns:
            int8: 1d representation of card_2d
        """
        return card_2d[0] * self.rules.N_SUITS + card_2d[1]
def _get_1d_card ( self , card_2d ) : return card_2d [ 0 ] * self . rules . N_SUITS + card_2d [ 1 ]