Amazon Interview Question

Design a Card game using code