card.m: do not use a separate typeclass for type card, just use enum(card)