simple codeskluptor implementation of the card game