Card game implement in Java as a learning case.