Free N-Back Game - Boost Memory & Cognitive Skills Online | Games
🎮 N-Back Game
N‑Back Memory Trainer
Press Y for “Match” and N for “No Match”. Use the buttons if you prefer clicking.
You have 3 lives. The game ends when you lose all lives.

Score: 0 | High Score: 0
Introduction
The N‑Back game is a classic brain‑training exercise that challenges your working memory. In this version you see a random letter on the screen every few seconds and must decide whether it matches the one that appeared n steps earlier (default n = 2).
How to Play
- Watch the letter displayed in the canvas.
- Press Y (or click “Yes”) if the current letter matches the one shown 2 turns ago.
- Press N (or click “No”) if it does not match.
- You start with 3 lives. A wrong answer costs a life.
- The game ends when all lives are lost.
- Press P or the “Pause” button to pause/resume.
- Click “Restart” to begin a new session.
- Toggle Light/Dark mode with the “Switch to Dark/Light” button.
Tips and Strategies
- Chunk the sequence. Mentally group letters in pairs of two so you can compare the current pair with the previous one.
- Use the rhythm. The stimulus interval is regular; use the beat to anticipate when a decision is needed.
- Stay calm. A wrong answer only costs one life; focus on accuracy rather than speed.
- Increase difficulty gradually. As you improve, try to keep up when the speed increases after each streak.
Features List
- Responsive design – works on desktop, tablet, and mobile browsers.
- Light/Dark theme toggle.
- Score counter with persistent high‑score (saved in
localStorage). - Audio feedback for correct and incorrect answers.
- Dynamic difficulty – the stimulus interval speeds up after every 5 correct answers.
- Lives system (3 lives) and clear “Game Over” detection.
- Keyboard shortcuts (Y / N / P) plus clickable buttons.
- Pause and restart functionality.
FAQ
- Can I change the N‑back level?
The current implementation uses n = 2. The code can be edited (change theconst N = 2;line) to any other value. - Why does the game speed up?
To keep the challenge growing, the interval between letters shortens by 100 ms after every 5 consecutive correct answers, down to a minimum of 800 ms. - Is my high score saved?
Yes! The high score is stored in the browser’slocalStorage, so it persists across sessions on the same device.
Post a Comment