Turning CardMatchingGame more generic