Interactive JavaScript project

Memory Match

Reveal pairs, track moves, and model a turn with explicit state.

Choose two cards with a pointer, or Tab to a card and press Enter. Match every pair. Mismatches stay visible briefly; there is no time limit.

Use a browser that supports Canvas to run this example.

Build this project

Build a Memory Card Matching Game with HTML5 Canvas and JavaScript.

Read and run the source

The engine lives in assets/js/engines/memory.js. The download includes a runnable local page, shared scheduler, and browser controls.

Source is provided for inspection and local learning. See Terms for reuse permissions.