๐Ÿง  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:

  1. Fork the repository

  2. Create a branch:

git checkout -b feature/new-game
  1. Commit changes:
git commit -m "Add new brain game"
  1. Push changes:
git push origin feature/new-game
  1. 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:

https://sufyanism.com/

LinkedIn:

https://www.linkedin.com/in/sufyanism


๐Ÿš€ Your All-in-One Learning Hub

Explore coding, technology, and development resources:

Main Website:

https://zeba.academy

Hands-on learning:

https://code.zeba.academy

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 โค๏ธ