MindGames
A modern mental math training application designed to improve arithmetic skills through chain-based problem solving.
What is MindGames?โ
MindGames is a Next.js web application that generates linked math problem chains for mental arithmetic practice. Unlike traditional math drills, problems are connected - each answer becomes the starting value for the next problem, creating a flowing chain of calculations.
Key Featuresโ
Chain-Based Problemsโ
24 โ รท4 โ [?] โ ร5 โ [?] โ +12 โ [?] โ -8 โ [?]
Each answer feeds into the next problem, encouraging sequential mental calculation.
Operation Mix Controlโ
Customize the balance of operations with percentage-based presets:
- Random: 25% each operation (equal distribution)
- Basic: 40% add, 40% subtract, 10% multiply, 10% divide
- Advanced: 20% add/subtract, 30% multiply/divide
- Expert: 10% add/subtract, 40% multiply/divide
Kid/Adult Profilesโ
- Kid Mode: Encouraging messages, confetti celebrations, fun language
- Adult Mode: Clean, focused interface for serious practice
Responsive Designโ
- Wide desktop layout (1600px) with persistent sidebar
- Mobile vertical layout with full equations (e.g.,
32 ร 3 = ?) - Collapsible settings on mobile devices
- Dark/light theme support
Technology Stackโ
| Layer | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS |
| State | React Context + useReducer |
| Icons | Lucide React |
| Animations | canvas-confetti |
| Testing | Jest + React Testing Library |
Architecture Overviewโ
Quick Startโ
# Clone and install
cd MindGames
npm install
# Run development server
npm run dev
# Run tests
npm test
# Build for production
npm run build
Versionโ
Current version: 1.2.0
See CHANGELOG.md for release history.