Block interview question

Write a class for a card game.