remade CardMatchingGame to be generic
latest version