Memory Card Game
Flip cards to match pairs and test your memory.
Complete! 🎉
Moves: 0
Time: 0:00
Best record: –
Recent (up to 5)
No records yet — finish a round!
What is this?
A memory card game — flip two face-down cards at a time to find matching pairs. Remember card positions to clear the board in fewer tries.
How to play
Pick a difficulty (6, 8, or 12 pairs), then click cards to flip them. Flip two in a row — if they match, they stay open; if not, both flip back after a short delay. Once all pairs are matched, your move count and time are shown. Use New game to reshuffle the same difficulty.
Privacy
Moves, time, and your best record are stored only in your browser (localStorage) and are never sent to a server.
The limits of working memory — Miller's "magic number" 7±2 and this game's difficulty
Psychologist George Miller's famous 1956 paper argued that people can hold roughly 7±2 items (5 to 9) in working memory at once. Mapped onto this game's difficulty levels, Easy (6 pairs = 12 cards) has only 6 distinct images, comfortably inside that range, so you can track card positions without much strain. Hard (12 pairs = 24 cards) jumps to 12 distinct images, which clearly exceeds that range — memorizing every card individually gets noticeably harder, which is why the 12-pair board tends to demand a different approach than simple rote memorization.
A memory strategy — chunking in practice
Miller's paper also introduced chunking — grouping individual items into larger meaningful units to remember more effectively. Applied here, instead of memorizing all 24 cards (12 pairs) one by one, you can divide the board into regions and remember them as groups — "the top-left block had an apple and a banana" — which reduces the number of units you actually have to track. A mismatched pair also flips back automatically after 800ms, giving you a brief window to rehearse the positions and fold them into a chunk before your next attempt, which can cut down your move count over time.