A cognitive exercise Android app designed specifically for older adults to improve memory and cognitive function through an engaging card-matching game.
- Memory Training: Match pairs of cards by flipping them over
- Three Difficulty Levels:
- Easy (6 cards) - Perfect for beginners
- Medium (16 cards) - Standard challenge
- Hard (20 cards) - Advanced difficulty
- Score Tracking: Move counter and best score persistence
- Instant Restart: Quick game reset functionality
- Large, Clear Visuals: High-contrast colors and extra-large text (18sp+)
- Nostalgic Themes: Familiar imagery (flowers, fruits, vintage items)
- Simple Interface: Minimal, uncluttered design
- Gentle Animations: 1-second card reveal delay for easier viewing
- Touch-Friendly: Large tap targets for better usability
- Kotlin - Primary programming language
- Jetpack Compose - Modern Android UI toolkit
- Material Design 3 - UI components and theming
- Android Architecture Components - MVVM pattern
- Minimum SDK: Android 10.0 (API level 30)
- Target SDK: Android 14 (API level 36)
- Android Studio: Flamingo or later
- Android Studio installed
- Android device or emulator running Android 10.0+
-
Clone the repository:
git clone https://github.com/LiteObject/mind-pairs.git
-
Open the project in Android Studio
-
Sync the project with Gradle files
-
Create an Android Virtual Device (AVD) or connect a physical device
-
Run the app using the green play button
- Go to Tools → AVD Manager
- Click Create Virtual Device
- Select Pixel 7 or similar device
- Choose API Level 34 (Android 14)
- Click Finish and start the emulator
- Choose Difficulty: Select Easy, Medium, or Hard from the top chips
- Flip Cards: Tap any two cards to reveal them
- Find Matches: If cards match, they stay face-up
- Continue: Keep flipping until all pairs are found
- Win: Complete the game in the fewest moves possible!
- Moves Counter: Tracks the number of card flips
- Pairs Found: Shows progress through the current game
- Best Score: Saves your lowest move count for each difficulty
app/src/main/java/com/example/mindpairs/
├── model/
│ ├── Card.kt # Card data model
│ └── GameState.kt # Game state and difficulty levels
├── game/
│ └── GameManager.kt # Core game logic and state management
├── ui/
│ ├── components/
│ │ └── MemoryCard.kt # Animated card component
│ ├── screens/
│ │ └── GameScreen.kt # Main game interface
│ └── theme/
│ ├── Color.kt # Accessible color palette
│ ├── Theme.kt # Material 3 theme configuration
│ └── Type.kt # Large, readable typography
└── MainActivity.kt # App entry point
This app is specifically designed for older adults with focus on:
- Cognitive Health: Exercises working memory and pattern recognition
- Accessibility: Large text, high contrast, simple navigation
- Engagement: Nostalgic imagery and positive reinforcement
- Social Interaction: Encourages group play and discussion
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with care for cognitive wellness and healthy aging