Solution of OOP project Card Game