Pergunta de entrevista da empresa Sky

How would you design the code for a deck of cards.