Scale Interview Question

Implement a card game according to given criteria