Connectly interview question

Implement a card game with OOP