اطلب مشروعك
منصة تدريب على الحساب الذهنينسخة أولى جاهزة للتجريب

ميدان العقل

منتج داخلي · نسخة أولى جاهزة للتجريب

منصة عربية أولاً لتدريب الحساب الذهني بروح المنافسة: لعبة تدريب للطلاب، ولوحات متابعة وتحليل للمدربين ومراكز التدريب.

A mental-math training platformFirst version ready for trials

Mental Arena

In-house product · A first version ready for trials

An Arabic-first, competitive mental-math training platform: a practice game for students and management and analytics dashboards for coaches and training centers.

المشكلة التي يعالجها

صُمّم المنتج لمعالجة مشاكل شائعة في تدريب الحساب الذهني:

  • يعتمد التدريب غالباً على أوراق وتمارين متفرقة، فلا يوجد قياس موحّد للسرعة والدقة.
  • يصعب على المدرّب معرفة نقاط الضعف الفعلية لكل طالب ولكل نوع من العمليات.
  • الدافع للاستمرار ضعيف بدون نظام تقدّم ومنافسة واضح (نقاط، مستويات، ترتيب).
  • المراكز التي تدرّب عدة مجموعات تحتاج فصلاً واضحاً بين بيانات كل مركز.

الحل

بنينا منصة ويب متعددة المراكز تعمل بالعربية من اليمين لليسار وبالإنجليزية. يتدرب الطالب على أسئلة تُولَّد بحسب النوع والصعوبة، وتُحسب النقاط والخبرة والمستوى على الخادم وليس في المتصفح، فلا يمكن التلاعب بالنتيجة من جهاز الطالب. تُحفظ كل جلسة بتفاصيلها (الزمن لكل سؤال، الدقة، أفضل تتابع) وتغذّي الإنجازات والأرقام القياسية ولوحات الترتيب.

وللمدرّب ومدير المركز لوحات خاصة تعرض نشاط الطلاب ومتوسط الدقة والزمن ونقاط الضعف المشتركة والطلاب الذين يحتاجون متابعة، مع إنشاء تحديات ومسابقات. وتفصل صلاحيات قاعدة البيانات (Row Level Security) بين بيانات المراكز والمستخدمين.

الميزات الرئيسية

  • تدريب بأنماط متعددة: كلاسيكي، موقوت، دقة، سرعة، بقاء، ومفتوح، على 11 نوع أسئلة و6 مستويات صعوبة.
  • نقاط وخبرة ومستويات: 100 مستوى، سلاسل أيام متتالية تراعي المنطقة الزمنية، و16 إنجازاً وأرقام قياسية شخصية.
  • تحديات يومية وأسبوعية وشهرية، وتحدي الأصدقاء، وتحديات المركز بترتيب عادل (نفس الأسئلة للجميع).
  • مواجهات مباشرة 1 ضد 1 وبطولات: عدّاد تنازلي من الخادم، وأجوبة يتحقق منها الخادم، وبطولات إقصائية وفرق.
  • لوحات ترتيب على مستوى المركز أو عالمياً، لليوم أو الأسبوع أو الشهر أو الموسم أو كل الأوقات، بأسماء مستعارة ومستويات فقط.
  • لوحات المدرّب ومدير المركز: إحصاءات، تحليل نقاط الضعف، متابعة الطلاب، تعيين تدريب، صفوف، ومكافآت.
  • توصيات تدريب: محرّك قواعد يقترح التدريب المناسب بحسب أداء الطالب.
  • كشف الغش: تحليل توقيت الإجابات وحجب الجلسات المشبوهة من المكافآت.

الأدوار والصلاحيات

طالبالتدريب والتحديات والمواجهات والترتيب والإنجازات ومتابعة تقدمه.
مدرّبمتابعة طلاب مركزه، إنشاء تحديات ومسابقات، وتعيين تدريب.
مدير مركزكل ما سبق مع إدارة المدربين والصفوف والمكافآت وإعدادات المركز.
ولي أمرمتابعة تقدّم ابنه بعد ربط الحساب وموافقة الابن أو الابنة على الطلب.
مدير المنصةإدارة المراكز والإحصاءات العامة والجلسات المعلّمة (يُمنح الدور من قاعدة البيانات فقط، لا من الواجهة).

ما أُنجز وتم التحقق منه

  • 215 اختباراً آلياً ناجحاً على قاعدة Postgres حقيقية، تشمل حدود الصلاحيات بين المراكز والمستخدمين.
  • اجتياز فحص الكود (ESLint) وفحص الأنواع (TypeScript) وبناء الإنتاج.
  • تشغيل المنصة فعلياً على مشروع Supabase حقيقي: تسجيل حساب ودخول وتدريب كامل ونتائج ولوحة ترتيب ولوحة المدرّب، ببيانات تجريبية.

التقنيات

التطبيقNext.js 16 (App Router) · React 19 · TypeScript بوضع صارم · Tailwind CSS 4 (واجهة RTL أولاً، ووضع داكن)
البياناتSupabase: Postgres وAuth وRealtime مع Row Level Security على كل الجداول · pg · Zod
الاختبار والتكاملVitest وPGlite · GitHub Actions

الحالة الحالية

نسخة أولى جاهزة للتجريب، لم تُطلق بعد للجمهور.

  • لم تُشغَّل المنصة بعد مع مستخدمين حقيقيين.
  • الفوترة والاشتراكات: الجداول جاهزة لكن لا يوجد مزوّد دفع بعد.
  • الإشعارات داخل التطبيق فقط حالياً، والبريد والإشعارات الفورية غير مفعّلة.
  • قادم: محرّر لأسئلة المدرّب الخاصة وشاشات إعداد على مستوى المنصة.

لقطات من النظام

الصفحة الرئيسية للطالب
الصفحة الرئيسية للطالب: المستوى، تتابع الأيام، اختصارات التدريب والتحديات والمواجهات، وتحدي اليوم.
إعداد التدريب
إعداد التدريب: اختيار نوع الأسئلة ومستوى الصعوبة والإعدادات السريعة.
شاشة اللعب
شاشة اللعب: السؤال والمؤقّت وتقدّم الجلسة والنقاط وتغذية راجعة فورية.
نتيجة الجلسة
نتيجة الجلسة: النقاط والدقة ومتوسط زمن الاستجابة والخبرة المكتسبة ورقم قياسي جديد.
لوحة الترتيب للمركز عبر كل الأوقات بأسماء مستعارة ومستويات.
لوحة الترتيب للمركز عبر كل الأوقات بأسماء مستعارة ومستويات.
لوحة المدرّب
لوحة المدرّب: إحصاءات المركز ونشاط التدريب ونقاط الضعف المشتركة (رمز الانضمام مموّه).

كل الصور ببيانات تجريبية وأسماء وهمية (مركز العقل التجريبي).

The problem it addresses

The product was designed around common problems in mental-math training:

  • Training often relies on loose worksheets and drills, so speed and accuracy are not measured in one consistent way.
  • Coaches struggle to see each student's real weak spots per type of operation.
  • Motivation to keep practicing is low without a clear progression and competition system (points, levels, rankings).
  • Centers that train several groups need clean separation between each center's data.

The solution

We built a multi-center web platform that runs right-to-left in Arabic and also in English. Students practice on questions generated by type and difficulty, and points, XP and level are calculated on the server rather than in the browser, so a result cannot be tampered with from the student's device. Every session is stored in detail (time per question, accuracy, best streak) and feeds achievements, personal records and leaderboards.

Coaches and center admins get dedicated dashboards showing student activity, average accuracy and response time, shared weak spots and students who need follow-up, plus tools to create challenges and contests. Database-level Row Level Security keeps each center's and each user's data separate.

Key features

  • Multiple practice modes: classic, timed, accuracy, speed, survival and endless, across 11 question categories and 6 difficulty levels.
  • Points, XP and levels: 100 levels, timezone-aware daily streaks, 16 achievements and personal records.
  • Daily, weekly and monthly challenges, friend challenges, and center challenges with fair ranking (same questions for everyone).
  • Live 1v1 battles and tournaments: a server-driven countdown, server-validated answers, knockout tournaments and team contests.
  • Leaderboards by center or global, for today, week, month, season or all time, showing pseudonyms and levels only.
  • Coach and center-admin dashboards: statistics, weak-spot analytics, student follow-up, assigned training, classes and rewards.
  • Training recommendations: a rules engine that suggests the right training from each student's performance.
  • Anti-cheat: answer-timing analysis, with flagged sessions excluded from rewards.

Roles and permissions

StudentPractice, challenges, battles, leaderboards, achievements, and tracking their own progress.
CoachFollows the students of their center, creates challenges and contests, and assigns training.
Center adminEverything above plus managing coaches, classes, rewards and center settings.
ParentFollows a child's progress after linking and the child's approval of the request.
Platform adminManages centers, platform-wide statistics and flagged sessions (the role is granted only in the database, never from the UI).

What was built and verified

  • 215 automated tests passing against a real Postgres engine, including permission boundaries between centers and users.
  • ESLint, the TypeScript type-check and the production build all pass.
  • The platform was run for real against a live Supabase project: sign-up, sign-in, a full practice session, results, a leaderboard and the coach dashboard, using demo data.

Technologies

ApplicationNext.js 16 (App Router) · React 19 · strict TypeScript · Tailwind CSS 4 (RTL-first UI, dark mode)
DataSupabase: Postgres, Auth and Realtime with Row Level Security on every table · pg · Zod
Testing and integrationVitest and PGlite · GitHub Actions

Current status

A first version ready for trials, not yet launched to the public.

  • The platform has not yet been run with real users.
  • Billing and subscriptions: the tables are ready but no payment provider is integrated yet.
  • Notifications are in-app only for now; email and push are not wired.
  • Coming: an editor for coach-authored questions and platform-level configuration screens.

System screenshots

The student home page
The student home page: level, day streak, shortcuts to practice, challenges and battles, and today's challenge.
Practice setup
Practice setup: choosing question types, difficulty and quick presets.
The play screen
The play screen: the question, timer, session progress, points and instant feedback.
Session result
Session result: score, accuracy, average response time, XP earned and a new personal record.
The center leaderboard for all time, with pseudonyms and levels.
The center leaderboard for all time, with pseudonyms and levels.
The coach dashboard
The coach dashboard: center statistics, training activity and shared weak spots (the join code is blurred).

All images use demo data and fictional names (a demo training center).

عندك مشروع مثل هذا؟Have a project like this?

اكتب لنا ما يحتاجه عملك، وسنرد عليك.Tell us what your business needs, and we will reply.

اطلب مشروعك