Vecna Healthcare interview question

How to code up a card game?