๐ง Zeba Academy Brain Training
A Flutter package that provides reusable brain training components including:
- ๐งฉ Memory Games
- ๐ข Logic Puzzles
- ๐ง Pattern Tests
- โก Difficulty Levels
- ๐ Score Tracking
Build engaging educational, cognitive, and skill-training applications with ready-to-use Flutter components.
โจ Features
๐ง Memory Games
Create memory-based challenges to improve:
- Concentration
- Recall ability
- Cognitive skills
Example:
final game = MemoryGame(
Difficulty.medium,
);
print(game.cardCount);
๐งฉ Logic Puzzles
Generate logic-based questions with different difficulty levels.
final puzzle = LogicGame(
Difficulty.easy,
);
print(puzzle.getQuestion());
๐ข Pattern Tests
Test users' pattern recognition skills.
final patternGame = PatternGame(
Difficulty.hard,
);
final pattern = patternGame.generatePattern();
print(pattern);
โก Difficulty Levels
Supported difficulty modes:
Difficulty.easy
Difficulty.medium
Difficulty.hard
Each level changes the complexity of challenges.
๐ Score Tracking
Track player performance and game history.
final score = ScoreController();
score.addScore(
GameScore(
game: "Memory",
points: 100,
date: DateTime.now(),
),
);
print(score.totalScore);
๐ฆ Installation
Add dependency:
dependencies:
zeba_academy_brain_training: ^1.0.0
Run:
flutter pub get
๐ Usage
Import the package:
import 'package:zeba_academy_brain_training/zeba_academy_brain_training.dart';
Create a brain game:
final memoryGame =
MemoryGame(
Difficulty.medium,
);
print(memoryGame.cardCount);
๐ Package Structure
lib/
โโโ zeba_academy_brain_training.dart
โโโ models/
โ โโโ difficulty.dart
โ โโโ game_score.dart
โโโ games/
โ โโโ memory_game.dart
โ โโโ logic_game.dart
โ โโโ pattern_game.dart
โโโ controllers/
โ โโโ score_controller.dart
โโโ widgets/
โโโ game_card.dart
๐งช Testing
Run tests:
flutter test
Analyze:
flutter analyze
๐ฏ Use Cases
This package is suitable for:
- Educational applications
- Kids learning apps
- Brain development platforms
- Puzzle games
- Cognitive training apps
- Flutter practice projects
๐ Requirements
- Flutter >= 3.0.0
- Dart >= 3.0.0
๐ค Contributing
Contributions are welcome.
Steps:
-
Fork the repository
-
Create a branch:
git checkout -b feature/new-game
- Commit changes:
git commit -m "Add new brain game"
- Push changes:
git push origin feature/new-game
- Create a Pull Request
๐ License
Licensed under the:
GNU General Public License v3.0 (GPL-3.0)
You are free to:
- Use
- Modify
- Share
- Improve
under the conditions of GPL-3.0.
See:
LICENSE
๐จโ๐ป About Me
โจ Iโm Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.
Learn more:
LinkedIn:
https://www.linkedin.com/in/sufyanism
๐ Your All-in-One Learning Hub
Explore coding, technology, and development resources:
Main Website:
Hands-on learning:
YouTube:
https://www.youtube.com/@zeba.academy
Instagram:
https://www.instagram.com/zeba.academy/
โญ Support
If this package helps your project:
โญ Star the repository ๐ค Contribute improvements ๐ข Share with developers
Thank you for using Zeba Academy Brain Training โค๏ธ