Dual N-Back is a meticulously crafted desktop application designed to systematically enhance core cognitive abilities, including working memory, attention, and fluid intelligence, through the scientifically validated Dual N-Back task. This application combines a modern user interface, highly customizable training parameters, and detailed performance analytics to provide a professional-grade cognitive training experience.
- 🚀 Scientific Training Method: Based on the classic Dual N-Back task, a widely researched paradigm proven to effectively improve working memory and fluid intelligence.
- 🎨 Immersive User Experience: Features a modern, intuitive UI design with smooth animations and audio feedback to create a distraction-free training environment.
- ⚙️ Fine-Grained Parameter Tuning: Offers highly flexible settings, allowing you to adjust N-Back level, number of trials, stimulus presentation speed, feedback delay, and other core parameters to meet training needs at different stages.
- 📊 Comprehensive Performance Tracking: Automatically records detailed data for each session, including hit rate, false alarm rate, and d' (a signal detection theory metric), helping you to precisely track your progress.
- 📈 In-Depth Data Insights: Visualizes your long-term performance data through intuitive charts, clearly displaying trends in your cognitive abilities across different difficulty levels.
- 🌐 Multi-Language Support: Built-in support for English and Chinese, allowing for seamless language switching.
- 💻 Cross-Platform Compatibility: Built with the Tauri framework to ensure a native-like, smooth experience on Windows, macOS, and Linux.
- Frontend: React, TypeScript, Vite
- UI Library: Recharts (for charts), Lucide React (for icons)
- Desktop App Framework: Tauri
- State Management: React Context
- Internationalization: i18next
- Data Persistence: tauri-plugin-store
Follow these steps to set up and run the project in your local environment:
-
Clone the Repository
git clone https://github.com/aac6fef/dual-n-back.git cd dual-n-back -
Install Dependencies
Note: Requires Node.js and Rust development environments.
npm install
-
Start Development Mode
npm run tauri dev
-
Build the Application
npm run tauri build
| Game Page | Game in Progress |
|---|---|
![]() |
![]() |
| Settings Page | History Page |
|---|---|
![]() |
![]() |
| Trend Analysis | Difficulty Curve |
|---|---|
![]() |
![]() |
| Detailed History | Event Sequence |
|---|---|
![]() |
![]() |
Contributions of all kinds are welcome! If you have suggestions, find a bug, or want to add a new feature, please feel free to open an Issue or a Pull Request.
This project is licensed under the MIT License.







