Memory Matrix
A fast, polished memory game that rewards focus, speed, and streaks.
Screenshots
![]() |
![]() |
| Classic mode Chain matches and protect your streak. |
Time Attack Match quickly to earn bonus seconds. |
![]() |
![]() |
| Responsive play The full game fits touch screens without horizontal overflow. |
Personal-best results Review score, speed, moves, and best streak. |
![]() |
![]() |
![]() |
| Choose your stack | Terminal-inspired play | Real logos on mobile |
Why it is fun
Memory Matrix starts with familiar pair matching, then adds a light arcade layer:
- Score every match — clean matches earn points immediately.
- Build streaks — consecutive matches multiply the reward up to 1,250 points per pair.
- Race the clock — Time Attack begins at 60 seconds and successful matches add 2–4 bonus seconds, depending on board size.
- Chase mastery — improve your move count, finish time, star rating, and longest streak.
- Choose your vibe — play Emoji, Programming, Space, Animals, or Numbers decks.
- Learn by sight — the Programming deck uses 32 real, self-hosted technology logos instead of letter abbreviations.
- Return every day — everyone gets the same deterministic Daily Challenge, with a rotating deck and a persistent completion streak.
- Use one Focus Peek — reveal the board once when you are stuck; the trade-off is half points for the rest of that round.
Game modes
| Mode | Goal | Twist |
|---|---|---|
| Classic | Clear the board efficiently | Earn up to three stars based on move count |
| Time Attack | Match as many pairs as possible before time expires | Every match adds bonus time |
| Daily Challenge | Complete the shared medium puzzle | A new deterministic board and rotating deck every UTC day |
Boards and decks
| Difficulty | Grid | Pairs | Time bonus per match |
|---|---|---|---|
| Easy | 4×4 | 8 | +2 seconds |
| Medium | 6×6 | 18 | +3 seconds |
| Hard | 8×8 | 32 | +4 seconds |
Five decks are included: Emoji, Programming, Space, Animals, and Numbers.
How to play
- Pick a board size, deck, and game mode.
- Memorize the opening preview before the cards turn over.
- Select two cards. A match stays revealed; a miss resets your streak.
- Chain consecutive matches to increase your score multiplier.
- Clear the board—or keep the Time Attack clock alive—to set a new personal best.
Tip: The Focus Peek is powerful, but using it halves future point rewards for that round.
Experience highlights
- Responsive 4×4, 6×6, and 8×8 boards
- Mouse, touch, and native keyboard controls
- Accessible labels, visible focus states, and reduced-motion support
- 3D card flips, match pulses, streak feedback, score popups, and confetti
- Synthesized Web Audio feedback with a one-tap mute control
- Local best scores with failure-safe
localStorageaccess - Near-black gameplay-first UI with a restrained acid-lime accent
Built with
Run locally
git clone git@github.com:Sanjays2402/memory-matrix.git
cd memory-matrix
npm install
npm run dev
Quality checks
npm run lint
npm test
npm run build
Project structure
src/
├── App.jsx # Screen flow and composition
├── gameLogic.js # Decks, scoring, rewards, shuffle, storage
├── useGame.js # Round state, timers, streaks, and interactions
├── sounds.js # Web Audio feedback
├── index.css # Design system, layout, motion, responsive rules
└── components/
├── BackgroundOrbs.jsx # Ambient canvas
├── Card.jsx # Accessible 3D card
├── GameBoard.jsx # Responsive board
├── Header.jsx # HUD, rewards, hint, and sound controls
├── Icons.jsx # Shared SVG icon set
├── Menu.jsx # Game setup and deck preview
└── VictoryOverlay.jsx # Results, score, and replay flow
Links
- Play: https://sanjays2402.github.io/memory-matrix/
- Repository: https://github.com/Sanjays2402/memory-matrix
- Issues: https://github.com/Sanjays2402/memory-matrix/issues
- Deployments: https://github.com/Sanjays2402/memory-matrix/actions/workflows/deploy.yml
- License: MIT
Contributing
Ideas and fixes are welcome. Open an issue or submit a pull request with a focused change and passing quality checks.
Asset credits
Programming deck logos are provided by Simple Icons under CC0 1.0 and stored locally for reliable, privacy-friendly play. Individual marks remain subject to their respective trademark guidelines. See the full asset attribution.
License
Released under the MIT License.
Terms & Disclaimer
By using this project you agree to the following.
- No warranty. This software is provided "as is", without warranty of any kind, express or implied, including merchantability, fitness for a particular purpose, and non-infringement.
- No liability. To the maximum extent permitted by law, the author and contributors are not liable for any claim, loss, or damage (direct, indirect, incidental, or consequential, including lost data or profits) arising from its use.
- Your responsibility. You use it at your own risk and are responsible for complying with the laws that apply to you.
- Game. Provided for entertainment. Take breaks; it is not designed for people with photosensitive epilepsy, and flashing effects may occur.
- Third parties. Names, logos, APIs, and services of others belong to their owners and are used for identification only; no affiliation or endorsement is implied.
- Your statutory rights. Nothing here limits rights that cannot be waived by agreement, including under consumer-protection laws in the USA, Canada (including Quebec), and India (Consumer Protection Act, 2019).
- License. Use, copying, and distribution are governed by the LICENSE file; if anything here conflicts with it, the license controls.
Content, Assets & Fair Use
- Original work. Unless noted otherwise (including below), the code, text, design, and images in this repository were created by the author.
- Libraries, fonts, and icons. Third-party libraries, fonts (for example Google Fonts), and icon sets belong to their creators and are used under their own licenses; see the dependency manifests and each source for terms.
- Logos, brands, and screenshots. Third-party names, logos, and screenshots appear only to identify or describe their products (nominative use). They remain the property of their owners and do not imply affiliation or endorsement.
- Ideas and inspiration. Where this project is inspired by another product, game, or idea, it is an independent implementation. It borrows only general ideas, mechanics, or styles, which are not anyone's exclusive property, and is meant to contain no third-party code or artwork used without permission.
- Fair use and fair dealing. Any third-party material is used in limited ways for purposes such as education, research, review, commentary, or identification, relying on fair use in the USA (17 U.S.C. § 107), fair dealing in Canada (Copyright Act, ss. 29–29.2), and fair dealing in India (Copyright Act, 1957, s. 52), where they apply.
- Concerns and takedown requests. If you own rights in something here and believe it is used improperly, open an issue or contact the author through their GitHub profile with a link to the material and your claim. It will be reviewed promptly and credited, changed, or removed as appropriate. You may also use GitHub's DMCA process.
- Contributions. By contributing, you confirm you have the right to submit your contribution and agree it is licensed under this repository's license.
- Website. The project site has its own Terms and Fair Use pages.








