Hey Guys, I got a question, would be glad if someone could help me.

I want to find out, how I can build a memory game with an important difference: I want the pairs to posess different content. That means when I click for example on a lion, and a horse it still matches. I try to figure it out, but everything I found was about classic memory games. I tried to use this code I found and to modify it, but I was pretty unseccesful:

As you can clearly see, this is not my own code, I hope its to use it, if not please le me know. My goal is, that A will match with B and C with D. So I guess I would have to give them the same value, but I’m not sure how to do it. I really try find it out since 2 hours, but I cant solve it. It would be great if someone could help me or give me hint to solve this problem.

Thanks a lot, English is not my mother tongue

Michel