Games

Memory Card Game

Flip cards to match pairs and test your memory.

Moves: 0 Time: 0:00 Best: –

Best –

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.

    How are moves counted?
    Each time you flip two cards to compare them counts as one move, whether they match or not.
    How do I choose a difficulty?
    Use the 6/8/12-pair buttons above the board. Changing difficulty reshuffles the cards and starts a new game.
    Where is my best record stored?
    Your best record (fewest moves per difficulty) is stored only in your browser's local storage — never sent to a server or shared across devices.
    Does it work on mobile?
    Yes. The card grid responsively reduces columns on smaller screens, and cards can be flipped by tapping. No install or sign-up required.
    Why does Hard (12 pairs) suddenly feel so much harder?
    A classic cognitive psychology study (Miller, 1956) found that people can hold about 7±2 items in working memory at once. Easy (6 pairs) fits in that range, but Hard (12 pairs) has 12 distinct images, exceeding it — which is why it feels disproportionately harder.
    What is chunking, and how does it apply here?
    Chunking groups individual items into larger units to remember more efficiently. Instead of memorizing every card, divide the board into regions and remember them as groups — "this block had these images" — which reduces the number of units you need to track.
    When does a mismatched pair flip back?
    If the two cards don't match, they automatically flip back after 800ms (0.8 seconds). Rehearsing the positions during that brief window can help on your next attempt.