# Memory game > How good is your memory for matching pairs? Turn over two cards at a time and find every pair in as few moves as you can. Play the classic memory card game: flip two cards, find all the pairs and beat your own moves and time. Four to twelve pairs, with the keyboard or a tap. - Page: https://how.box/memory-game/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/memory-game/?theme={theme}&pairs={pairs}&seed={seed} - `theme` (animals or symbols): Card faces: animals or symbols. Example: `animals`. - `pairs` (4, 6, 8, 10 or 12): Number of pairs: 4, 6, 8, 10 or 12. Example: `8`. - `seed` (whole number 1 to 999999): Board number 1–999999; the same settings deal the same board. Example: `1`. Example answer: https://how.box/memory-game/?theme=animals&pairs=8&seed=1 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `memory_game_deal`: Sets up a memory (pairs) board and returns its layout: the number of columns and rows and the face on every card, row by row (the same seed, theme and pairs always deal the same board). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"memory_game_deal","arguments":{"theme":"animals","pairs":8,"seed":1}}}` - GET: https://how.box/mcp/run/memory_game_deal?theme=animals&pairs=8&seed=1 ## How it works Memory, also called Concentration or Pairs, is a card game. All the cards start face down, and each turn you flip two of them. A matching pair stays face up; a mismatch turns back. The game is over when every pair is found. A move is one turn of two cards. With 8 pairs the best possible game takes 8 moves, which needs a lucky guess every time. Players who remember the cards they have seen need fewer moves than players who guess; with no memory at all, the average is far higher. Each board is dealt from a board code, so the same code, number of pairs and faces give the same cards. Your moves and time stay on the page and are not saved. ## FAQ **What is the best score?** One move per pair, so 8 moves with 8 pairs. That takes luck, because the first card of each turn is always a guess. **Can I play with the keyboard?** Yes. Move between cards with the arrow keys and press Enter or Space to turn a card over. **Why do mismatched cards turn back by themselves?** They stay visible for a moment so you can memorise them, then turn back. Turning a new card also turns them back at once. **How do I get the same board again?** Press Same board again, or keep the page link. The board code, size and faces always deal the same cards. **Is my score saved?** No. Moves and time live only on the page, and nothing is sent anywhere. **Is it good for children?** Yes. Matching games practise visual memory and attention. The game has no ads, and four pairs make an easy first board. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)