Amazon interview question

Design a Card game using code