Card game software in Java (course project in software design)