$> Kaya
~/tools/memory-gameinteractive
/tools/memory-game

Memory Game

Use this memory game to flip cards, match pairs, and track how many moves it takes to clear the board.

~/tools/memory-gamememory game
Moves
0
Completed pairs
0/8
Last result
Finish a board to record a result.
Best record
No record yet
~/tools/memory-game/examplesusage.txt

Example Usage

  • Play a quick matching game as a short mental reset.
  • Track how many moves you need to finish the board.
  • Repeat the board to try to improve your short-term recall.
~/tools/memory-game/guideREADME.md

Memory Game Explained

A memory game tests short-term recall by asking you to uncover matching pairs from a shuffled set of hidden cards. Each move reveals two cards, and you try to remember their positions well enough to clear the board in fewer turns. This version keeps the rules minimal and tracks your move count plus matched pairs. It is useful as a lightweight game, a focus break, or a simple example of browser state and timed interaction. Because the game is small and immediate, it works well as a quick daily challenge.

~/tools/memory-game/faq3 items

FAQ

How do I win?

You win by matching every pair on the board until all cards are revealed.

What does the move count mean?

A move is counted each time you reveal a second card to complete a pair attempt.

Can I reset the board?

Yes. The reset button shuffles a fresh board and clears the move count.

~/tools/memory-game/related5 links
~/tools/memory-game/linksinternal