Android Native project

MathBrainer icon

MathBrainer

A brain-training Android app with 18 fast math, memory, and logic games focused on clarity, repetition, and lightweight daily use.

AndroidBrain trainingUtility app
MathBrainer

Overview

MathBrainer

MathBrainer is a native Android brain-training application bringing together 18 quick maths, memory, logic, counting, and number-pattern games into one focused, lightweight experience.
Designed for short, repeatable mental exercises during daily spare moments, it combines arithmetic speed, recall, spatial reasoning, and pattern recognition under a unified, polished interface.

Users can select from a wide range of challenge modes from the central home screen, play focused rounds lasting only a few moments, and monitor their cognitive progress through persistent high scores, accuracy metrics, and per-game statistics.
The app requires no user account: all progress and gameplay records stay private and stored directly on the device.

The latest release introduces improved responsive layouts across phones and tablets, uniform and ergonomic keypad sizing across all game modes, a refreshed launcher and store icon, and upgraded migration safety for persistent statistics.

Architecture

The project follows a feature-oriented Clean MVVM architecture with clear separation between presentation, domain, and persistence responsibilities.

  • Presentation layer built with Jetpack Compose, Material 3, and screen-specific ViewModels.
  • Domain layer organized around clean use cases for challenge generation, arithmetic rules, sequencing, scoring, and progress tracking.
  • Data layer centered on local Room database persistence for scores, settings, and gameplay statistics.
  • Dependency injection managed through Hilt.
  • Reactive state management powered by Kotlin Coroutines, Flow, and StateFlow.
  • Navigation handled through modern Compose Navigation 3.
  • Feature-oriented packaging, isolating each game mode, home, statistics, settings, ads, and credits into dedicated modules.

Project Strategies

  • Feature-based organization keeping every challenge mode independent, testable, and maintainable.
  • Responsive layouts optimized for both handheld phone use and larger tablet form factors.
  • Consistent ergonomic keypad ensuring predictable touch targets across arithmetic and numeric recall games.
  • Local-first persistence guaranteeing full offline availability with safe database migration across updates.
  • Use-case-driven domain logic decoupling gameplay formulas and rules from UI rendering.
  • Privacy and consent integration via Google User Messaging Platform (UMP) and lifecycle-aware AdMob banner integration.
  • Fastlane release pipeline for automated metadata synchronization, localized assets, and repeatable Google Play deployment.

Core Technology

  • Kotlin
  • Android SDK (compileSdk 36, targetSdk 36)
  • Jetpack Compose & Material 3
  • Compose Navigation 3
  • Hilt
  • Room Database
  • Kotlin Coroutines & StateFlow
  • Google Mobile Ads
  • User Messaging Platform (UMP)
  • Gradle Kotlin DSL & Version Catalogs
  • Fastlane

Game Modes & Challenges

  • Addition, Subtraction, Multiplication, Division (Choose Result)
    Multiple-choice arithmetic modes designed for instantaneous calculation and reflex recognition.
  • Addition, Subtraction, Multiplication, Division (Write Result)
    Direct-entry calculation modes utilizing the on-screen keypad to test mental arithmetic accuracy and recall.
  • Mixed Operations (Choose & Write)
    Multi-operator challenges requiring rapid mental switching between addition, subtraction, multiplication, and division.
  • Random Operation
    Unpredictable arithmetic combinations testing mental agility across various operator patterns.
  • Double Number
    A high-speed doubling challenge testing instant mental multiplication and numeric scaling.
  • Quick Count
    A timed visual counting challenge requiring quick estimation and tallying of on-screen objects.
  • Number Order
    A working memory and sequence challenge where players memorize and tap numbers in correct ascending order.
  • Memory Flash
    Short-term memory challenge where numeric sequences flash briefly and must be typed back accurately.
  • Sequence Solver
    Pattern-recognition puzzles where players identify the mathematical rule governing a sequence and supply the missing value.
  • Falling Operations
    Arcade-style arithmetic under time pressure where calculations must be solved before reaching the bottom.
  • Enigma
    Symbolic deduction puzzles translating geometric and visual symbols into arithmetic equations.

Links