If you never forgot a single card you flipped, how many tries would it take to match all 20 cards (10 pairs) in the Memory Cards app? Even with perfect memory, the cards you haven’t seen yet are a matter of luck, so the number of tries changes from game to game. We worked it out by calculation.
How Someone With Perfect Memory Plays
Someone who remembers everything flips like this.
- If you know the position and number of a pair, flip those two cards and take them.
- If not, flip a card you haven’t seen as your first card.
- If you’ve seen its partner before, flip that spot as your second card and take the pair.
- If you haven’t, flip another card you haven’t seen as your second card.
The faded cards are ones you’ve seen and remember. Here, you flipped an unseen card first, and it was an 8 (1). You haven’t seen the 8’s partner, so you flipped another unseen card second, and it was a 10 (2). These two don’t match this time, but you’ve now seen the 10 before. On the next try, you can be sure to take the pair of 10s.
The Fewest Is 10, the Average Is About 15.6
With this strategy, here is the number of tries to match 20 cards by our calculation.
| Tries | Share of games |
|---|---|
| 13 or fewer | about 0.3% |
| 14 | about 5.8% |
| 15 | about 36.0% |
| 16 | about 47.4% |
| 17 | about 10.2% |
| 18 | about 0.2% |
| 19 | very rare |
- The average is about 15.6 tries. Over 80% of games end in 15 or 16 tries.
- The fewest is 10 tries, but that needs you to find the partner by luck with your second card every single time, which happens about once in 650 million games.
- The most is 19 tries, and it never goes higher.
Why It Never Goes Past 19
The number of tries is the total of tries where you take a pair and tries that miss. With 10 pairs, there are exactly 10 tries where you take a pair.
With this strategy, you only miss when you flip two unseen cards and they don’t match. In a miss, the number of unseen cards goes down by 2. And once only 2 unseen cards are left, you can’t miss anymore. The partner of your first card is either a card you’ve seen or the one other card left.
Misses can only happen until you’ve seen 18 of the 20 cards, and since you see 2 cards per try, there are at most 9 of them. So the number of tries is at most 10 + 9 = 19. Compared with flipping at random, which takes 100 tries on average, you can see how powerful remembering is.
When You Actually Play
It’s hard for people to remember everything perfectly. But you only need to remember cards whose partner hasn’t been found yet, which is at most about 6 to 8 cards (Tips for Memory). If you can clear in around 16 tries, you can say you’re remembering almost perfectly.
With this strategy, your miss count in the app is always 0. The reason is explained in The Math of Counting Misses.
