refactoring CardMatchingGame