What Is Memory?

Memory, also known as Concentration, Pairs or Pelmanism, is one of the simplest card games there is. A set of matching pairs is shuffled and dealt face down, and players turn over two cards at a time looking for matches. It is traditionally played on a table with an ordinary deck of cards, and it is often one of the first card games children learn, but it rewards adults who take it seriously just as much.

On PlayVersusAI, Memory is a solo game. There is no opponent racing you to the pairs. Instead, you are scored on efficiency: the number of moves it takes to clear the board. That changes the character of the game. In the multiplayer version a match earns another turn and luck tends to even out, but solo, every wasted flip goes straight onto your total. Good play means getting as much information as possible from every card you turn and never losing track of what you have already seen.

The Rules

  • Every picture appears exactly twice. The board holds 8, 12 or 16 pairs of animal cards, shuffled into a new random layout for every game.
  • A move is two flips. Turn over one card, then a second. Each second card adds one to the move counter, whether or not the two match.
  • Matches stay, mismatches return. A matched pair stays face up and turns green. A mismatched pair stays visible for 0.8 seconds, then both cards turn face down again. The board ignores clicks during that pause.
  • Clear the board to finish. When the last pair is matched, the game shows your moves, your time and the number of pairs. Fewer moves is a better score.

You cannot flip a card that is already matched, or the same card twice in one move, so every move is a genuine attempt at a pair. To abandon a game and deal a fresh one, click any of the size buttons above the board, including the one already selected.

Core Strategy: Playing Like a Perfect Memory

The ideal move sequence

Imagine you never forgot a card. What is the best way to play? Each move should run like this: flip a card you have never seen. If you already know where its partner is, flip the partner and collect a guaranteed match. If you do not, flip another unseen card. It might match the first by luck. If it matches a card you saw earlier instead, you now know where both cards of that pair are, so collect them on your next move. If neither happens, you have still learned two new positions.

Two rules are hidden in that routine. First, never open a move with a card you have already seen unless you are collecting a known pair, because it gives you no new information. Second, never spend your second flip on a known card that is not the partner: it cannot make a match and it teaches you nothing. Following this routine is the baseline for good play. Everything else below is about making your real memory work more like a perfect one.

Systematic scanning

Exploring in a random order is the biggest single cause of wasted moves, because randomly chosen positions are hard to remember. Explore along a fixed path instead: left to right across the top row, then the next row down. Every grid here is four cards wide, which is convenient. Each row is a short line of four that you can hold as one unit, such as "row one: dog, fox, unknown, cat". On Hard, with eight rows, treat the top four rows and the bottom four as two separate 4×4 blocks and finish exploring one before moving deep into the other.

Positional memory techniques

Name every card. Saying "rabbit, row two, end" to yourself links a word to the picture and the position, which sticks far better than a glance. Anchor to the edges. Corner and edge cards are the easiest to place; remember middle cards by where they sit relative to them ("one in from the left corner"). Keep the open list short. At any moment there are only a handful of cards you have seen whose partners are still hidden. Collect pairs promptly so that list stays small, and run through it quickly in your head after each mismatch. Watch the look-alikes. The mouse and hamster appear at every size, and the tiger and lion join them on Medium and Hard. Give them clearly different names so they don't get swapped in your memory.

The math of minimum moves

No game can take fewer moves than there are pairs: 8 on Easy, 12 on Medium and 16 on Hard. Hitting that number needs a lucky match on every pair, so in practice it only happens on small boards, and rarely. A more useful benchmark is what a player with perfect memory would score using the routine above. Mathematical analyses of solitaire Memory put the average at a little over 1.6 moves per pair, which is roughly 12 to 13 moves on Easy, about 19 on Medium and about 25 on Hard. Even with flawless recall, bad luck can push a game up to one move short of twice the pair count (15 on Easy). If your scores sit near 1.6 times the pair count, your recall is close to perfect. If they are well above twice the pair count, you are re-flipping cards you have already seen.

Common Mistakes to Avoid

  • Re-checking a card you already know. Flipping a familiar card "to be sure" spends a move without adding information. Trust what you've seen, or at least pair the check with a new card.
  • Clicking around the grid at random. Without a scanning order, positions blur together. A fixed path is what makes them memorable.
  • Leaving known pairs for later. Collecting a pair costs one move whenever you do it. Waiting just gives you one more thing to forget.
  • Rushing through the pause. The 0.8 seconds a mismatched pair stays visible is your study time. Look at both cards and say their names before they turn over.
  • Jumping straight to Hard. Thirty-two cards punish a weak routine. Get your scanning and naming habits automatic on Easy first, where mistakes are cheap and easy to spot.

Difficulty Levels on PlayVersusAI

Difficulty only changes the number of cards. The rules, the flip-back pause and the scoring are the same at every size.

DifficultyWhat changes
Easy8 pairs on a 4×4 grid. Always the same eight animals (dog, cat, mouse, hamster, rabbit, fox, bear and panda) in new positions. The minimum is 8 moves, and a perfect memory averages around 12 to 13.
Medium12 pairs on a 4×6 grid, adding the koala, tiger, lion and cow. This is the size the page opens with. Perfect play averages about 19 moves.
Hard16 pairs on a 4×8 grid, adding the pig, frog, monkey and unicorn. The cards are shorter so that eight rows fit, and positions are hardest to keep apart. Perfect play averages about 25 moves.

Frequently Asked Questions

Isn't Memory mostly luck?
Luck decides a few moves per game, such as whether two unknown cards happen to match. Over a handful of games, though, memory dominates: a player who forgets nothing averages around 1.6 moves per pair, while someone who loses track of cards can easily need three or more.
Does speed matter?
No. Your time appears on the finishing screen, but your score and leaderboard position depend only on moves. There is no time limit, so take as long as you need before each flip.
What does the Best box show?
The lowest move count you've recorded in this browser. It is a single record rather than one per grid size, so it shows your best game at any size. Signed-in players' results also go to the global leaderboard.
Can I play on a phone or tablet?
Yes. Tapping a card works exactly like clicking it. There are no keyboard controls, so on a computer you play with the mouse.
Play Memory Now

Free to play - no account needed