Another memory game

can anyone help me with the codes?

i was able to code to make my cards shuffle. but how will i make the computer know if the cards match?

i have 20 cards.